@gsretail.com/gui-core
Version:
A skeleton to create your own React component library using Rollup, TypeScript, Sass and Storybook
2 lines (1 loc) • 534 B
JavaScript
import{__rest as e,__assign as r}from"tslib";import i from"react";import{TableCell as t,Typography as d}from"@mui/material";import a from"./styled.js";var m=a((function(a){var m=a.width,n=a.minWidth,o=a.maxWidth;a.background,a.resizeNone,a.disabled;var l=a.children,h=a.required,s=e(a,["width","minWidth","maxWidth","background","resizeNone","disabled","children","required"]);return i.createElement(t,r({sx:{width:m&&m,minWidth:n&&n,maxWidth:o&&o}},s),l,h?i.createElement(d,{className:"required"},"*"):null)}));export{m as default};