Skip to content

Commit b9c15ee

Browse files
refactor(Status): expose className prop (#263)
1 parent 5b80c9f commit b9c15ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/react/src/components/status/status.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ const Circle = styled.div<{ type: StatusType }>`
3333
`;
3434

3535
interface Props {
36+
className?: string;
3637
label: string;
3738
type: StatusType;
3839
}
3940

40-
export const Status: VoidFunctionComponent<Props> = ({ label, type }) => (
41-
<Wrapper type={type}>
41+
export const Status: VoidFunctionComponent<Props> = ({ className, label, type }) => (
42+
<Wrapper className={className} type={type}>
4243
<Circle type={type} />
4344
<span>{label}</span>
4445
</Wrapper>

0 commit comments

Comments
 (0)