Files
twenty/packages/twenty-docs/l/pl/twenty-ui/display/checkmark.mdx
T
github-actions[bot] 8cadd00d34 i18n - translations (#15799)
Created by Github action

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: github-actions <github-actions@twenty.com>
2025-11-13 16:34:00 +01:00

70 lines
1.6 KiB
Plaintext

---
title: Znacznik wyboru
image: /images/user-guide/tasks/tasks_header.png
---
<Frame>
<img src="/images/user-guide/tasks/tasks_header.png" alt="Header" />
</Frame>
Reprezentuje zakończoną lub udaną akcję.
<Tabs>
<Tab title="Usage">
```jsx
import { Checkmark } from 'twenty-ui/display';
export const MyComponent = () => {
return <Checkmark />;
};
```
</Tab>
<Tab title="Props">
Rozszerza `React.ComponentPropsWithoutRef<'div'>` i akceptuje wszystkie właściwości zwykłego elementu `div`.
</Tab>
</Tabs>
## Animowany znacznik wyboru
Reprezentuje ikonę znacznika wyboru z dodatkową funkcją animacji.
<Tabs>
<Tab title="Usage">
```jsx
import { AnimatedCheckmark } from 'twenty-ui/display';
export const MyComponent = () => {
return (
<AnimatedCheckmark
isAnimating={true}
color="green"
duration={0.5}
size={30}
/>
);
};
```
</Tab>
<Tab title="Props">
| Właściwości (Props) | Typ | Opis | Domyślny |
| -------------------------------------- | ----------- | ---------------------------------------------- | ----------- |
| czyAnimuje | boolean | Kontroluje, czy znacznik wyboru jest animowany | fałsz |
| kolor | ciąg znaków | Kolor znacznika wyboru | |
| czas trwania | numer | Czas trwania animacji w sekundach | 0,5 sekundy |
| rozmiar | numer | Rozmiar znacznika wyboru | 28 pikseli |
</Tab>
</Tabs>