Files
twenty/packages/twenty-docs/l/vi/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: Dấu kiểm
image: /images/user-guide/tasks/tasks_header.png
---
<Frame>
<img src="/images/user-guide/tasks/tasks_header.png" alt="Header" />
</Frame>
Đại diện cho một hành động thành công hoặc đã hoàn thành.
<Tabs>
<Tab title="Usage">
```jsx
import { Checkmark } from 'twenty-ui/display';
export const MyComponent = () => {
return <Checkmark />;
};
```
</Tab>
<Tab title="Props">
Extends `React.ComponentPropsWithoutRef<'div'>` and accepts all the props of a regular `div` element.
</Tab>
</Tabs>
## Dấu kiểm động
Represents a checkmark icon with the added feature of animation.
<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">
| Thuộc Tính | Loại | Mô tả | Mặc định |
| ----------- | ------- | -------------------------------------------------- | ------------------------ |
| isAnimating | boolean | Kiểm soát xem dấu kiểm có đang hoạt động hay không | sai |
| màu sắc | string | Màu của dấu kiểm | |
| thời lượng | số | Thời lượng của hoạt ảnh tính bằng giây | 0.5 giây |
| kích cỡ | số | Kích thước của dấu kiểm | 28 pixel |
</Tab>
</Tabs>