diff --git a/src/components/Stack.tsx b/src/components/Stack.tsx index f1b9c329..331c8edc 100644 --- a/src/components/Stack.tsx +++ b/src/components/Stack.tsx @@ -6,24 +6,37 @@ type StackProps = { children: React.ReactNode; gap?: number; align?: "start" | "center" | "end" | "baseline"; + justifyContent?: "center" | "space-around" | "space-between"; }; -function RowStack({ children, gap, align }: StackProps) { +function RowStack({ children, gap, align, justifyContent }: StackProps) { return (
{children}
); } -function ColStack({ children, gap, align }: StackProps) { +function ColStack({ children, gap, align, justifyContent }: StackProps) { return (
{children}
diff --git a/src/index.tsx b/src/index.tsx index 74d01ee1..4fa431a0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -460,7 +460,7 @@ export class App extends React.Component<{}, AppState> { private renderCanvasActions() { return ( - + {this.actionManager.renderAction( "loadScene", elements,