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