storybook and shadcn integrate

This commit is contained in:
sindhu
2023-11-07 09:34:30 +07:00
parent 0a713f08d9
commit afa3c02d99
67 changed files with 24766 additions and 12029 deletions

View File

@@ -1,7 +1,9 @@
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'
// IMPORT BUAT CSS SHADCN
import '../app/global.css'
import { Button } from "@/components/ui/button"
function App() {
const [count, setCount] = useState(0)
@@ -28,9 +30,8 @@ function App() {
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
<h1 className="text-3xl font-bold underline">
INI TAILWIND CSS
</h1>
<Button>ORANGE</Button>
<Button variant="destructive">DESTRUCTIVE</Button>
</>
)
}