A status component.
A status component.
import { Status } from '@yuntijs/ui';based on antd Badge component.
import { Status } from '@yuntijs/ui';
export default () => {
//
return <Status status="processing" text="构建中" tooltip="阶段:1/4" />;
};| Name | Description | Type | Default |
|---|---|---|---|
| tooltip | -- | ReactNode | -- |
| title | -- | string | -- |
| style | -- | {} | -- |
| className | -- | string | -- |
| status | -- | "warning"|"error"|"default"|"success"|"processing" | -- |
| text | -- | ReactNode | -- |
| color | -- | string|blue|purple|cyan|green|magenta|pink|red|orange|yellow|volcano|geekblue|lime|gold | -- |