mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 05:02:42 +00:00
17 lines
377 B
TypeScript
17 lines
377 B
TypeScript
import { Flex } from 'tgui/components';
|
|
import { createRenderer } from 'tgui/renderer';
|
|
|
|
const render = createRenderer();
|
|
|
|
export const Default = () => {
|
|
const node = (
|
|
<Flex align="baseline">
|
|
<Flex.Item mr={1}>Text {Math.random()}</Flex.Item>
|
|
<Flex.Item grow={1} basis={0}>
|
|
Text {Math.random()}
|
|
</Flex.Item>
|
|
</Flex>
|
|
);
|
|
render(node);
|
|
};
|