mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-08-03 04:04:24 +08:00
storybook: add Button and Spinner examples
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Button, CounterButton } from '@tih/ui';
|
||||
import { Button, Spinner } from '@tih/ui';
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
@ -8,8 +8,8 @@ export default function HomePage() {
|
||||
<h1 className="text-center text-4xl font-bold text-red-600">
|
||||
Homepage
|
||||
</h1>
|
||||
<CounterButton />
|
||||
<Button label="Button text" size="md" variant="primary" />
|
||||
<Spinner size="md" />
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user