Skip to content

Commit

Permalink
Merge branch 'improvement/add-variant-to-text-badge2' into q/1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bert-e committed Jun 17, 2024
2 parents e19dd70 + db0bb43 commit a244cea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/components/textbadge/TextBadge.component.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import styled from 'styled-components';
import { spacing } from '../../spacing';
import { fontWeight } from '../../style/theme';
Expand Down Expand Up @@ -27,7 +28,7 @@ type Props = {
text: string;
className?: string;
variant?: TextBadgeVariant;
};
} & React.HTMLAttributes<HTMLSpanElement>;
export function TextBadge({
text,
variant = 'infoPrimary',
Expand Down

0 comments on commit a244cea

Please sign in to comment.