ui: share tailwind config across packages

This commit is contained in:
Yangshun Tay
2022-10-03 20:33:35 +08:00
parent 5734758f96
commit de33d38e1b
23 changed files with 374 additions and 15 deletions

View File

@ -1,8 +1,16 @@
import { Button, CounterButton } from '@tih/ui';
export default function HomePage() {
return (
<main className="flex-1 overflow-y-auto">
<div className="flex h-full items-center justify-center">
<h1 className="text-center font-bold text-4xl">Homepage</h1>
<div>
<h1 className="text-center text-4xl font-bold text-red-600">
Homepage
</h1>
<CounterButton />
<Button label="Button text" size="md" variant="primary" />
</div>
</div>
</main>
);