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: Häkchen
|
|
image: /images/user-guide/tasks/tasks_header.png
|
|
---
|
|
|
|
<Frame>
|
|
<img src="/images/user-guide/tasks/tasks_header.png" alt="Kopfzeile" />
|
|
</Frame>
|
|
|
|
Stellt eine erfolgreiche oder abgeschlossene Aktion dar.
|
|
|
|
<Tabs>
|
|
<Tab title=""Verwendung"">
|
|
|
|
```jsx
|
|
import { Checkmark } from 'twenty-ui/display';
|
|
|
|
export const MyComponent = () => {
|
|
return <Checkmark />;
|
|
};
|
|
```
|
|
|
|
|
|
</Tab>
|
|
|
|
<Tab title=""Eigenschaften"">
|
|
|
|
Erweitert `React.ComponentPropsWithoutRef<'div'>` und akzeptiert alle Eigenschaften eines regulären `div`-Elements.
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|
|
## Animiertes Häkchen
|
|
|
|
Stellt ein Häkchen-Symbol mit der zusätzlichen Funktion der Animation dar.
|
|
|
|
<Tabs>
|
|
|
|
<Tab title="Verwendung">
|
|
|
|
```jsx
|
|
import { AnimatedCheckmark } from 'twenty-ui/display';
|
|
|
|
export const MyComponent = () => {
|
|
return (
|
|
<AnimatedCheckmark
|
|
isAnimating={true}
|
|
color="green"
|
|
duration={0.5}
|
|
size={30}
|
|
/>
|
|
);
|
|
};
|
|
```
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Eigenschaften">
|
|
|
|
|
|
| Eigenschaften | Typ | Beschreibung | Standard |
|
|
| ------------- | ------------ | ------------------------------------- | ------------ |
|
|
| isAnimating | boolesch | Steuert, ob das Häkchen animiert wird | falsch |
|
|
| farbe | Zeichenkette | Farbe des Häkchens | |
|
|
| Dauer | nummer | Die Dauer der Animation in Sekunden | 0,5 Sekunden |
|
|
| größe | nummer | Die Größe des Häkchens | 28 Pixel |
|
|
|
|
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|