| 1234567891011121314151617181920212223242526272829303132333435363738 |
- import { Box, Checkbox, FormControlLabel } from "@mui/material";
- import styled from "styled-components";
-
- export const CheckBoxContainer = styled(Box)`
- ${(props) =>
- props.fullWidth &&
- `
- width: 100%;
- display: flex;
- flex: 1;
- `}
- `;
-
- export const CheckBoxStyled = styled(Checkbox)`
- color: ${(props) => props.boxcolor} !important;
- padding: 6px;
- `;
- export const FormControlLabelStyled = styled(FormControlLabel)`
- ${(props) =>
- props.fullWidth &&
- `
- width: 100%;
- display: flex;
- flex: 1;
- `}
- margin-right: 0;
- & label {
- font-family: "Open Sans";
- font-size: 12px;
- }
- & span:nth-child(1) svg {
- width: 18px;
- height: 18px;
- }
- & span:nth-child(2) {
- flex: 1;
- }
- `;
|