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.

14 lines 586 B
import { __assign, __rest } from "tslib"; import React from 'react'; import { FormControl, TextField as MuiTextField } from '@mui/material'; import { styled } from '@mui/material/styles'; var TextFieldStyled = styled(MuiTextField)({ textTransform: 'none', color: 'currentcolor', }); export var TextField = function (_a) { var label = _a.label, props = __rest(_a, ["label"]); return (React.createElement(FormControl, { sx: { width: '100%' } }, React.createElement(TextFieldStyled, __assign({}, props, { label: label })))); }; //# sourceMappingURL=TextField.js.map