Skip to content

Commit d1d975e

Browse files
authored
fix(project-badge): add ability to customize style by sx prop (#265)
1 parent 14172ca commit d1d975e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/badges/project-badge.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export interface ProjectBadgeProps extends Omit<FlexProps, 'css'> {
1414
const ProjectBadge: FC<ProjectBadgeProps> = ({
1515
value,
1616
isLock,
17+
sx,
1718
...props
1819
}: ProjectBadgeProps) => (
1920
<Flex
@@ -25,6 +26,7 @@ const ProjectBadge: FC<ProjectBadgeProps> = ({
2526
sx={{
2627
borderRadius: '2px',
2728
border: '1px solid #CBCBCB',
29+
...sx,
2830
}}
2931
as="span"
3032
tx="variants.badges.primary"

0 commit comments

Comments
 (0)