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.5 KiB
Plaintext
74 lines
1.5 KiB
Plaintext
---
|
|
title: Marca de seleção
|
|
image: /images/user-guide/tasks/tasks_header.png
|
|
---
|
|
|
|
<Frame>
|
|
<img src="/images/user-guide/tasks/tasks_header.png" alt="Cabeçalho" />
|
|
</Frame>
|
|
|
|
Representa uma ação bem-sucedida ou concluída.
|
|
|
|
<Tabs>
|
|
<Tab title="Uso">
|
|
|
|
```jsx
|
|
import { Checkmark } from 'twenty-ui/display';
|
|
|
|
export const MyComponent = () => {
|
|
return <Checkmark />;
|
|
};
|
|
```
|
|
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Propriedades">
|
|
|
|
Estende `React.ComponentPropsWithoutRef<'div'>` e aceita todas as propriedades de um elemento `div` regular.
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|
|
## Marca de Seleção Animada
|
|
|
|
Representa um ícone de marca de seleção com o recurso adicional de animação.
|
|
|
|
<Tabs>
|
|
|
|
<Tab title="Uso">
|
|
|
|
```jsx
|
|
import { AnimatedCheckmark } from 'twenty-ui/display';
|
|
|
|
export const MyComponent = () => {
|
|
return (
|
|
<AnimatedCheckmark
|
|
isAnimating={true}
|
|
color="green"
|
|
duration={0.5}
|
|
size={30}
|
|
/>
|
|
);
|
|
};
|
|
```
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Propriedades">
|
|
|
|
|
|
| Propriedades | Tipo | Descrição | Padrão |
|
|
| ------------ | -------- | -------------------------------------------- | ------------ |
|
|
| isAnimating | booleano | Controla se a marca de seleção está animando | falso |
|
|
| cor | string | Cor da marca de seleção | |
|
|
| duração | número | A duração da animação em segundos | 0,5 segundos |
|
|
| tamanho | número | O tamanho da marca de seleção | 28 pixels |
|
|
|
|
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|