File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export function Typography({
2323 gutterBottom,
2424 noWrap,
2525 variant,
26- children : components ,
26+ children : nodes ,
2727 onChange,
2828} : TypographyProps ) {
2929 return (
@@ -35,7 +35,7 @@ export function Typography({
3535 noWrap = { noWrap }
3636 variant = { variant }
3737 >
38- < ComponentChildren components = { components } onChange = { onChange } />
38+ < ComponentChildren nodes = { nodes } onChange = { onChange } />
3939 </ MuiTypography >
4040 ) ;
4141}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export type ComponentNode =
2020export interface ComponentState {
2121 // TODO: Rename to tag, so we can also have
2222 // (Html)ElementState along with ComponentState
23- type : ComponentType ;
23+ type : string ;
2424 children ?: ComponentNode [ ] ;
2525 // common HTML attributes
2626 id ?: string ;
You can’t perform that action at this time.
0 commit comments