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>
74 lines
1.4 KiB
Plaintext
74 lines
1.4 KiB
Plaintext
---
|
|
title: Bifă
|
|
image: /images/user-guide/tasks/tasks_header.png
|
|
---
|
|
|
|
<Frame>
|
|
<img src="/images/user-guide/tasks/tasks_header.png" alt="Antet" />
|
|
</Frame>
|
|
|
|
Reprezintă o acțiune reușită sau finalizată.
|
|
|
|
<Tabs>
|
|
<Tab title="Utilizare">
|
|
|
|
```jsx
|
|
import { Checkmark } from 'twenty-ui/display';
|
|
|
|
export const MyComponent = () => {
|
|
return <Checkmark />;
|
|
};
|
|
```
|
|
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Proprietăți">
|
|
|
|
Extinde `React.ComponentPropsWithoutRef<'div'>` și acceptă toate proprietățile unui element `div` obișnuit.
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|
|
## Bifă Animată
|
|
|
|
Reprezintă o pictogramă de bifă cu caracteristica suplimentară de animație.
|
|
|
|
<Tabs>
|
|
|
|
<Tab title="Utilizare">
|
|
|
|
```jsx
|
|
import { AnimatedCheckmark } from 'twenty-ui/display';
|
|
|
|
export const MyComponent = () => {
|
|
return (
|
|
<AnimatedCheckmark
|
|
isAnimating={true}
|
|
color="green"
|
|
duration={0.5}
|
|
size={30}
|
|
/>
|
|
);
|
|
};
|
|
```
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Proprietăți">
|
|
|
|
|
|
| Proprietăți | Tip | Descriere | Implicit |
|
|
| ----------- | ------- | ------------------------------ | ------------ |
|
|
| isAnimating | boolean | Controlează dacă bifa se animă | fals |
|
|
| culoare | șir | Culoarea bifei | |
|
|
| durată | număr | Durata animației în secunde | 0,5 secunde |
|
|
| dimensiune | număr | Dimensiunea bifei | 28 de pixeli |
|
|
|
|
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|