Skip to content

Commit

Permalink
Fixes after sync with main
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed Nov 22, 2024
1 parent 8453b92 commit b5b5dea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chartlets.js/src/lib/components/Typography.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function Typography({
gutterBottom,
noWrap,
variant,
children: components,
children: nodes,
onChange,
}: TypographyProps) {
return (
Expand All @@ -35,7 +35,7 @@ export function Typography({
noWrap={noWrap}
variant={variant}
>
<ComponentChildren components={components} onChange={onChange} />
<ComponentChildren nodes={nodes} onChange={onChange} />
</MuiTypography>
);
}
2 changes: 1 addition & 1 deletion chartlets.js/src/lib/types/state/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type ComponentNode =
export interface ComponentState {
// TODO: Rename to tag, so we can also have
// (Html)ElementState along with ComponentState
type: ComponentType;
type: string;
children?: ComponentNode[];
// common HTML attributes
id?: string;
Expand Down

0 comments on commit b5b5dea

Please sign in to comment.