File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
chartlets.js/packages/lib/src/plugins/mui Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ interface BoxState extends ComponentState {
1010
1111interface BoxProps extends ComponentProps , BoxState { }
1212
13- export function Box ( {
13+ export const Box = ( {
1414 id,
1515 style,
1616 color,
1717 component,
1818 children : nodes ,
1919 onChange,
20- } : BoxProps ) {
20+ } : BoxProps ) => {
2121 return (
2222 < MuiBox id = { id } style = { style } color = { color } component = { component || "div" } >
2323 < Children nodes = { nodes } onChange = { onChange } />
2424 </ MuiBox >
2525 ) ;
26- }
26+ } ;
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ interface CircularProgressState extends ComponentState {
1010
1111interface CircularProgressProps extends ComponentProps , CircularProgressState { }
1212
13- export function CircularProgress ( {
13+ export const CircularProgress = ( {
1414 id,
1515 style,
1616 size,
1717 value,
1818 variant,
19- } : CircularProgressProps ) {
19+ } : CircularProgressProps ) => {
2020 return (
2121 < MuiCircularProgress
2222 id = { id }
@@ -26,4 +26,4 @@ export function CircularProgress({
2626 variant = { variant }
2727 />
2828 ) ;
29- }
29+ } ;
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ interface LinearProgressState extends ComponentState {
1010
1111interface LinearProgressProps extends ComponentProps , LinearProgressState { }
1212
13- export function LinearProgress ( {
13+ export const LinearProgress = ( {
1414 id,
1515 style,
1616 value,
1717 variant,
18- } : LinearProgressProps ) {
18+ } : LinearProgressProps ) => {
1919 return (
2020 < MuiLinearProgress id = { id } style = { style } value = { value } variant = { variant } />
2121 ) ;
22- }
22+ } ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ interface TypographyState extends ComponentState {
1313
1414interface TypographyProps extends ComponentProps , TypographyState { }
1515
16- export function Typography ( {
16+ export const Typography = ( {
1717 id,
1818 style,
1919 align,
@@ -22,7 +22,7 @@ export function Typography({
2222 variant,
2323 children : nodes ,
2424 onChange,
25- } : TypographyProps ) {
25+ } : TypographyProps ) => {
2626 return (
2727 < MuiTypography
2828 id = { id }
@@ -35,4 +35,4 @@ export function Typography({
3535 < Children nodes = { nodes } onChange = { onChange } />
3636 </ MuiTypography >
3737 ) ;
38- }
38+ } ;
You can’t perform that action at this time.
0 commit comments