We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b80c9f commit b9c15eeCopy full SHA for b9c15ee
packages/react/src/components/status/status.tsx
@@ -33,12 +33,13 @@ const Circle = styled.div<{ type: StatusType }>`
33
`;
34
35
interface Props {
36
+ className?: string;
37
label: string;
38
type: StatusType;
39
}
40
-export const Status: VoidFunctionComponent<Props> = ({ label, type }) => (
41
- <Wrapper type={type}>
+export const Status: VoidFunctionComponent<Props> = ({ className, label, type }) => (
42
+ <Wrapper className={className} type={type}>
43
<Circle type={type} />
44
<span>{label}</span>
45
</Wrapper>
0 commit comments