8cadd00d34
Created by Github action --------- Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: github-actions <github-actions@twenty.com>
55 lines
2.0 KiB
Plaintext
55 lines
2.0 KiB
Plaintext
---
|
|
title: crwdns62294:0crwdne62294:0
|
|
image: crwdns62296:0crwdne62296:0
|
|
---
|
|
|
|
<Frame>
|
|
<img src="/images/user-guide/what-is-twenty/20.png" alt="Header" />
|
|
</Frame>
|
|
|
|
crwdns62298:0crwdne62298:0
|
|
|
|
<Tabs>
|
|
<Tab title="Usage">
|
|
|
|
```jsx
|
|
import { RecoilRoot } from 'recoil';
|
|
import { IconTwentyStar } from 'twenty-ui/display';
|
|
|
|
import { Select } from '@/ui/input/components/Select';
|
|
|
|
export const MyComponent = () => {
|
|
|
|
return (
|
|
<RecoilRoot>
|
|
<Select
|
|
className
|
|
disabled={false}
|
|
label="Select an option"
|
|
options={[
|
|
{ value: 'option1', label: 'Option A', Icon: IconTwentyStar },
|
|
{ value: 'option2', label: 'Option B', Icon: IconTwentyStar },
|
|
]}
|
|
value="option1"
|
|
/>
|
|
</RecoilRoot>
|
|
);
|
|
};
|
|
|
|
```
|
|
|
|
</Tab>
|
|
<Tab title="Props">
|
|
|
|
| crwdns62300:0crwdne62300:0 | crwdns62302:0crwdne62302:0 | crwdns62304:0crwdne62304:0 |
|
|
| ---------------------------------------------------------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
| crwdns62306:0crwdne62306:0 | crwdns62308:0crwdne62308:0 | crwdns62310:0crwdne62310:0 |
|
|
| crwdns62312:0crwdne62312:0 | crwdns62314:0crwdne62314:0 | crwdns62316:0crwdne62316:0 |
|
|
| crwdns62318:0crwdne62318:0 | crwdns62320:0crwdne62320:0 | crwdns62322:0crwdne62322:0 |
|
|
| crwdns62324:0crwdne62324:0 | crwdns62326:0crwdne62326:0 | crwdns62328:0crwdne62328:0 |
|
|
| crwdns62330:0crwdne62330:0 | crwdns62332:0crwdne62332:0 | crwdns62334:0crwdne62334:0 crwdns62336:0crwdne62336:0 |
|
|
| crwdns62338:0crwdne62338:0 | crwdns62340:0crwdne62340:0 | crwdns62342:0crwdne62342:0 crwdns62344:0crwdne62344:0 |
|
|
|
|
</Tab>
|
|
</Tabs>
|