-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
176fe47
commit 40c3a4a
Showing
4 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
import { Tabs, TabsTrigger, TabsTriggerList } from '@/components' | ||
import React, { useState } from 'react' | ||
|
||
const App = () => { | ||
const [state, setValue] = useState(false) | ||
const [state, setValue] = useState('') | ||
|
||
return <div className='h-screen w-full flex flex-col justify-center items-center gap-8'> </div> | ||
return ( | ||
<div className='h-screen w-full flex flex-col justify-center items-center gap-8'> | ||
<Tabs value={state} onValueChange={setValue}> | ||
<TabsTriggerList> | ||
<TabsTrigger asChild value={1}> | ||
<a>Trigger 1</a> | ||
</TabsTrigger> | ||
<TabsTrigger value={2}>Trigger 2</TabsTrigger> | ||
</TabsTriggerList> | ||
</Tabs> | ||
</div> | ||
) | ||
} | ||
|
||
export { App } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters