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

---------

Co-authored-by: github-actions <github-actions@twenty.com>
2025-12-23 17:06:38 +01:00

45 lines
2.0 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
image: /images/user-guide/tasks/tasks_header.png
---
<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 | The callback function you want to trigger when the checkbox state changes |
| 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. Has two options: `small` and `large` |
| şekil | dize | Kontrol kutusunun şekli. İki seçenek vardır: `squared` ve `rounded` |
</Tab>
</Tabs>