import React from "react";
import { useStyletron } from "baseui";
import { Grid, Cell, ALIGNMENT } from "baseui/layout-grid";
export default function Example() {
return (
|
1
|
2
|
3
|
);
}
const Outer: React.FunctionComponent<{}> = ({ children }) => {
const [css, theme] = useStyletron();
return (
{children}
);
};
const Inner: React.FunctionComponent<{ h: number }> = ({
children,
h = 25,
}) => {
const [css, theme] = useStyletron();
return (
{children}
);
};