Skip to content

Commit 9a994b6

Browse files
committed
feat: update Alert component icons size for improved visibility
1 parent a90a0ca commit 9a994b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/alert/Alert.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ export const Alert: React.FC<AlertProps> = (props) => {
1919
const {color = "secondary", children, ...rest} = props
2020

2121
const icons: Record<Color, React.ReactElement<IconProps>> = {
22-
"primary": <IconCircleDot size={16}/>,
23-
"secondary": <IconCircleDot size={16}/>,
24-
"info": <IconInfoCircle size={16}/>,
25-
"success": <IconCircleCheck size={16}/>,
26-
"warning": <IconAlertCircle size={16}/>,
27-
"error": <IconCircleX size={16}/>,
22+
"primary": <IconCircleDot size={18}/>,
23+
"secondary": <IconCircleDot size={18}/>,
24+
"info": <IconInfoCircle size={18}/>,
25+
"success": <IconCircleCheck size={18}/>,
26+
"warning": <IconAlertCircle size={18}/>,
27+
"error": <IconCircleX size={18}/>,
2828
}
2929

3030
return <div {...mergeCode0Props(`alert alert--${color}`, rest)}>

0 commit comments

Comments
 (0)