Skip to main content

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

Required
type

TYPE
IStatusType.dot

Type dot for status

Required
state

TYPE
IStatusState

Type state for status

style

TYPE
ViewStyle

Custom styles for status container