Dot
Reusable Status component
Example
import {
IStatusState,
IStatusType,
Status,
} from '@lad-tech/mobydick-core';
export const StatusWidget = () => {
return (
<Status type={IStatusType.dot} state={IStatusState.green} />
);
};
Props
Requiredtype
| TYPE |
|---|
| IStatusType.dot |
Type dot for status
Requiredstate
| TYPE |
|---|
| IStatusState |
Type state for status
style
| TYPE |
|---|
| ViewStyle |
Custom styles for status container