Files
twenty/packages/twenty-docs/l/tr/twenty-ui/input/text.mdx
T
5d438bb70c Docs: restructure navigation, add halftone illustrations, clean up hero images (#19728)
## Summary

- **New Getting Started section** with quickstart guide and restructured
navigation
- **Halftone-style illustrations** for User Guide and Developer
introduction cards using a Canvas 2D filter script
- **Removed hero images** (`image:` frontmatter + `<Frame><img>` blocks)
from all user-guide article pages
- **Cleaned up translations** (13 languages): removed hero images and
updated introduction cards to use halftone style
- **Cleaned up twenty-ui pages**: removed outdated hero images from
component docs
- **Deleted orphaned images**: `table.png`, `kanban.png`
- **Developer page**: fixed duplicate icon, switched to 3-column layout

## Test plan

- [ ] Verify docs site builds without errors
- [ ] Check User Guide introduction page renders halftone card images in
both light and dark mode
- [ ] Check Developer introduction page renders 3-column layout with
distinct icons
- [ ] Confirm article pages no longer show hero images at the top
- [ ] Spot-check a few translated pages to ensure hero images are
removed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions <github-actions@twenty.com>
2026-04-21 09:13:55 +02:00

162 lines
5.2 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: Metin
---
<Frame>
<img src="/images/user-guide/notes/notes_header.png" alt="Başlık" />
</Frame>
## Metin Girişi
Kullanıcıların metin girmelerine ve düzenlemelerine izin verir.
<Tabs>
<Tab title="Kullanım">
```jsx
import { TextInput } from "@/ui/input/components/TextInput";
export const MyComponent = () => {
const handleChange = (text) => {
console.log("Girdi değişti:", text);
};
const handleKeyDown = (event) => {
console.log("Basılan tuş:", event.key);
};
return (
<TextInput
className
label="Kullanıcı adı"
onChange={handleChange}
fullWidth={false}
disableHotkeys={false}
error="Geçersiz kullanıcı adı"
onKeyDown={handleKeyDown}
RightIcon={null}
/>
);
};
},{
```
</Tab>
<Tab title="Özellikler">
| Özellikler | Tür | Açıklama |
| -------------- | ------------- | ---------------------------------------------------------------------------------------------------------- |
| sınıfAdı | string | Ek stil için isteğe bağlı isim |
| etiket | string | Giriş için etiketi temsil eder |
| onChange | function | Giriş değeri değiştiğinde çağrılan fonksiyon |
| tamGenişlik | boolean | Girişin genişliği %100 kaplaması gerekip gerekmediğini belirtir |
| disableHotkeys | boolean | Giriş için kısayol tuşlarının etkinleştirilip etkinleştirilmediğini belirtir |
| hata | dize | Gösterilecek hata mesajını temsil eder. Sağ kenarda bir hata simgesi ekler |
| onKeyDown | fonksiyon | Giriş alanı odaklandığında bir tuşa basıldığında çağrılır. Bir `React.KeyboardEvent`'i argüman olarak alır |
| RightIcon | IconComponent | Girişin sağ tarafında görüntülenen isteğe bağlı ikon bileşeni |
Bileşen ayrıca diğer HTML giriş elemanının özelliklerini kabul eder.
</Tab>
</Tabs>
## Otomatik Boyutlandırma Metin Girişi
Metni içeriğe göre otomatik olarak ayarlayan metin giriş bileşeni.
<Tabs>
<Tab title="Kullanım">
```jsx
import { AutosizeTextInput } from "@/ui/input/components/AutosizeTextInput";
export const MyComponent = () => {
return (
<AutosizeTextInput
onValidate={() => console.log("onValidate fonksiyonu tetiklendi")}
minRows={1}
placeholder="Bir yorum yazın"
onFocus={() => console.log("onFocus fonksiyonu tetiklendi")}
variant="icon"
buttonTitle
value="Görev: "
/>
);
};
```
</Tab>
<Tab title="Özellikler">
| Özellikler | Tür | Açıklama |
| ----------- | --------- | ------------------------------------------------------------------------------ |
| onValidate | fonksiyon | Kullanıcı girişi doğruladığında tetiklemek istediğiniz geri çağırma fonksiyonu |
| minRows | sayı | Metin alanı için minimum satır sayısı |
| yer tutucu | dize | Metin alanı boşken göstermek istediğiniz yer tutucu metin |
| onFocus | fonksiyon | Metin alanı odaklandığında tetiklemek istediğiniz geri çağırma fonksiyonu |
| varyant | dize | Girişin varyantı. Seçenekler şunları içerir: `varsayılan`, `ikon` ve `buton` |
| buttonTitle | dize | Buton varyantı için geçerli sadece buton başlığı |
| değer | dize | Metin alanı için başlangıç değeri |
</Tab>
</Tabs>
## Metin Alanı
Çok satırlı metin girişleri oluşturmanızı sağlar.
<Tabs>
<Tab title="Kullanım">
```jsx
import { TextArea } from "@/ui/input/components/TextArea";
export const MyComponent = () => {
return (
<TextArea
disabled={false}
minRows={4}
onChange={()=>console.log('onChange fonksiyonu tetiklendi')}
placeholder="Metni buraya girin"
value=""
/>
);
};
```
</Tab>
<Tab title="Özellikler">
| Özellikler | Tür | Açıklama |
| ---------- | --------- | ---------------------------------------------------------------------- |
| devre dışı | boolean | Metin alanının devre dışı olup olmadığını belirtir |
| minRows | sayı | Metin alanı için görünen minimum satır sayısı. |
| onChange | fonksiyon | Metin alanının içeriği değiştiğinde tetiklenen geri çağırma fonksiyonu |
| yer tutucu | metin | Metin alanı boşken görüntülenen yer tutucu metin |
| değer | metin | Metin alanının mevcut değeri |
</Tab>
</Tabs>