選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Option.styled.js 585B

12345678910111213141516
  1. import { Box, MenuItem } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../themes";
  4. export const OptionStyled = styled(MenuItem)`
  5. background-color: ${props => props.selected ? selectedTheme.colors.primaryPurple : "white"} !important;
  6. color: ${props => props.selected ? "white" : selectedTheme.colors.selectOptionTextColor};
  7. margin:2px 9px;
  8. border-radius: 4px;
  9. &:hover {
  10. background-color: ${selectedTheme.colors.primaryPurple} !important;
  11. color: white;
  12. }
  13. `
  14. export const OptionIcon = styled(Box)`
  15. `