| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import { Box, FormControlLabel, Radio } from "@mui/material";
- import styled from "styled-components";
- import { TextFont } from "../../../themes/primaryTheme/primaryThemeFonts";
-
- export const RadioButtonContainer = styled(Box)`
- ${(props) =>
- props.fullwidth &&
- `
- width: 100%;
- display: flex;
- flex: 1;
- `}
- `;
- export const RadioButtonStyled = styled(Radio)`
- margin-top: 5px;
- margin-bottom: 5px;
- margin-right: 9px;
- width: 14px;
- height: 14px;
- `;
- export const FormControlLabelStyled = styled(FormControlLabel)`
- ${(props) =>
- props.fullwidth &&
- `
- width: 100%;
- display: flex;
- flex: 1;
- `}
- margin-right: 0;
- & label {
- font-family: ${TextFont};
- font-size: 12px;
- }
- & span:nth-child(1) svg {
- width: 16px;
- height: 16px;
- }
- & span:nth-child(2) {
- flex: 1;
- }
- `;
|