UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

10 lines 609 B
import { __assign, __rest } from "tslib"; import React from 'react'; import { FormControlLabel, Checkbox as MuiCheckbox } from '@mui/material'; import { styled } from '@mui/material/styles'; var CheckBoxStyled = styled(MuiCheckbox)({}); export var CheckBox = function (_a) { var props = __rest(_a, []); return (React.createElement(React.Fragment, null, props.label ? (React.createElement(FormControlLabel, { control: React.createElement(CheckBoxStyled, __assign({}, props)), label: props.label })) : (React.createElement(CheckBoxStyled, __assign({}, props))))); }; //# sourceMappingURL=CheckBox.js.map