Skip to content

Commit b5b5dea

Browse files
committed
Fixes after sync with main
1 parent 8453b92 commit b5b5dea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chartlets.js/src/lib/components/Typography.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

chartlets.js/src/lib/types/state/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type ComponentNode =
2020
export 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;

0 commit comments

Comments
 (0)