Files
twenty/packages/twenty-docs/l/tr/twenty-ui/input/checkbox.mdx
T
github-actions[bot] cd73088be6 i18n - docs translations (#19925)
Created by Github action

Co-authored-by: github-actions <github-actions@twenty.com>
2026-04-21 10:57:27 +02:00

51 lines
1.8 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: Kontrol Kutusu
icon: square-check
---
<Frame>
<img src="/images/user-guide/tasks/tasks_header.png" alt="Başlık" />
</Frame>
Bir kullanıcı birden fazla seçeneği seçmek istediğinde kullanılır.
<Tabs>
<Tab title="Kullanım">
```jsx
import { Checkbox } from "twenty-ui/display";
export const MyComponent = () => {
return (
<Checkbox
checked={true}
indeterminate={false}
onChange={() => console.log("onChange function fired")}
onCheckedChange={() => console.log("onCheckedChange function fired")}
variant="primary"
size="small"
shape="squared"
/>
);
};
```
</Tab>
<Tab title="Özellikler">
| Özellikler | Tür | Açıklama |
| --------------- | -------- | --------------------------------------------------------------------------------------------- |
| işaretli | boolean | Kontrol kutusunun işaretli olup olmadığını gösterir |
| belirsiz | boolean | Kontrol kutusunun belirsiz bir durumda olup olmadığını gösterir (ne işaretli ne de işaretsiz) |
| onChange | function | Onay kutusunun durumu değiştiğinde tetiklemek istediğiniz geri çağırma işlevi |
| onCheckedChange | function | `checked` durumu değiştiğinde tetiklemek istediğiniz geri çağırma işlevi |
| varyant | metin | Kutunun görsel stil varyantı. Seçenekler şunları içerir: `primary`, `secondary` ve `tertiary` |
| boyut | string | Kontrol kutusunun boyutu. İki seçenek vardır: `small` ve `large` |
| şekil | dize | Kontrol kutusunun şekli. İki seçenek vardır: `squared` ve `rounded` |
</Tab>
</Tabs>