001c2097a3
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>
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
---
|
||
title: Resim Girişi
|
||
image: /images/user-guide/objects/objects.png
|
||
---
|
||
|
||
<Frame>
|
||
<img src="/images/user-guide/objects/objects.png" alt="Başlık" />
|
||
</Frame>
|
||
|
||
Kullanıcıların bir resim yüklemesine ve kaldırmasına olanak tanır.
|
||
|
||
<Tabs>
|
||
<Tab title="Kullanım">
|
||
|
||
```jsx
|
||
import { ImageInput } from "@/ui/input/components/ImageInput";
|
||
|
||
export const MyComponent = () => {
|
||
return <ImageInput/>;
|
||
};
|
||
```
|
||
|
||
</Tab>
|
||
<Tab title="Özellikler">
|
||
|
||
|
||
| Özellikler | Tür | Açıklama |
|
||
| ----------- | -------- | ----------------------------------------------------------------------------------- |
|
||
| resim | dize | Resim kaynağı URL’si |
|
||
| onUpload | function | Yeni bir resim yüklendiğinde çağrılan işlev. `File` nesnesini parametre olarak alır |
|
||
| onRemove | function | Kullanıcı, kaldırma düğmesine tıkladığında çağrılan fonksiyon |
|
||
| onAbort | function | Kullanıcı, yükleme sırasında iptale tıkladığında çağrılan fonksiyon |
|
||
| yükleniyor | boolean | Bir resmin şu anda yüklenip yüklenmediğini gösterir |
|
||
| hata mesajı | string | Resim girişi altında görüntülenmesi gereken isteğe bağlı hata mesajı |
|
||
| devre dışı | boolean | `true` ise, tüm giriş devre dışıdır ve butonlara tıklanamaz |
|
||
|
||
|
||
|
||
|
||
</Tab>
|
||
</Tabs>
|