Skip to content

Commit

Permalink
refactor: css -> bgColor
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielyoon7 committed Oct 8, 2023
1 parent 7718c37 commit 54c1729
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ export interface FooMarkerProps {

const FooMarker = ({ count }: FooMarkerProps) => {
return (
<Box p={6} borderRadius="50%" css={fooMarkerCss}>
<Box p={6} borderRadius="50%" bgColor="#D9E5FF">
<Text fontSize={2}>{count}</Text>
</Box>
);
};

const fooMarkerCss = { background: '#D9E5FF' };

export default FooMarker;

0 comments on commit 54c1729

Please sign in to comment.