Skip to content

Commit

Permalink
fix(components): remove typo in Message class name
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Apr 29, 2024
1 parent 970fef6 commit acec040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Message/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type MessageProps = HTMLAttributes<HTMLDivElement> & {
level?: Level | undefined
}
export function Message({ children, className, Icon, iconColor, level = Level.INFO, ...nativeProps }: MessageProps) {
const controlledClassName = classnames('Component-Message>', className)
const controlledClassName = classnames('Component-Message', className)
const ControlledIcon = Icon ?? DEFAUT_ICON[level]
const controlledIconColor = iconColor ?? DEFAULT_ICON_COLOR[level]

Expand Down

0 comments on commit acec040

Please sign in to comment.