mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
42 lines
773 B
TypeScript
42 lines
773 B
TypeScript
const App = `import { Button, Grid } from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Grid.Container gap={2}>
|
|
<Grid>
|
|
<Button light color="primary" auto>
|
|
Primary
|
|
</Button>
|
|
</Grid>
|
|
<Grid>
|
|
<Button light color="secondary" auto>
|
|
Secondary
|
|
</Button>
|
|
</Grid>
|
|
<Grid>
|
|
<Button light color="success" auto>
|
|
Success
|
|
</Button>
|
|
</Grid>
|
|
<Grid>
|
|
<Button light color="warning" auto>
|
|
Warning
|
|
</Button>
|
|
</Grid>
|
|
<Grid>
|
|
<Button light color="error" auto>
|
|
Error
|
|
</Button>
|
|
</Grid>
|
|
</Grid.Container>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.js": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|