Files
twenty/packages/twenty-docs/l/tr/twenty-ui/input/toggle.mdx
T
github-actions[bot] 001c2097a3 i18n - docs translations (#18231)
Created by Github action

<!-- mintlify-editor-comments:start -->
Mintlify
---
0 threads from 0 users in Mintlify

- No unresolved comments
<!-- mintlify-editor-comments:end -->

<!-- mintlify-comment-->

<a
href="https://dashboard.mintlify.com/twenty/twenty/editor/i18n-docs?source=pr_comment"
target="_blank" rel="noopener noreferrer"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://d3gk2c5xim1je2.cloudfront.net/assets/open-mintlify-editor-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://d3gk2c5xim1je2.cloudfront.net/assets/open-mintlify-editor-light.svg"><img
src="https://d3gk2c5xim1je2.cloudfront.net/assets/open-mintlify-editor-light.svg"
alt="Open in Mintlify Editor"></picture></a>

<!-- /mintlify-comment -->

Co-authored-by: github-actions <github-actions@twenty.com>
2026-02-25 16:50:28 +01:00

43 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Toggle
image: /images/user-guide/table-views/table.png
---
<Frame>
<img src="/images/user-guide/table-views/table.png" alt="Başlık" />
</Frame>
<Tabs>
<Tab title="Kullanım">
```jsx
import { Toggle } from "twenty-ui/input";
export const MyComponent = () => {
return (
<Toggle
value = {true}
onChange = {()=>console.log('onChange olayı')}
color="green"
toggleSize = "medium"
/>
);
};
```
</Tab>
<Tab title="Özellikler">
| Özellikler | Tür | Açıklama | Varsayılan |
| ---------- | --------- | ------------------------------------------------------------------------------------------------------- | ------------ |
| değer | boolean | Geçiş butonunun mevcut durumu | `yanlış` |
| onChange | fonksiyon | Açma/kapatma anahtarı durumu değiştiğinde tetiklenen geri çağırma işlevi | |
| renk | metin | Açma/kapatma anahtarının rengi | mavi renktir |
| toggleSize | metin | Geçiş butonunun boyutu, hem yüksekliği hem de genişliği etkiler. İki seçeneği vardır: `küçük` ve `orta` | orta |
</Tab>
</Tabs>