Skip to content

Commit 0f950d8

Browse files
refactor(icons/quiz): update classname overrides
1 parent 20330a2 commit 0f950d8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/icons/Icons.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const items = iconsDefinitions.map((IconDef) => (
189189
borderColor="background.highlight"
190190
>
191191
<Center>
192-
<IconDef w="50px" h="50px" />
192+
<IconDef className="h-[50px] w-[50px]" w="50px" h="50px" />
193193
</Center>
194194
<Center>{IconDef.displayName}</Center>
195195
</Flex>

src/components/icons/quiz/CorrectIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { IconBase, type IconBaseProps } from "react-icons/lib"
33
import { cn } from "@/lib/utils/cn"
44

55
export const CorrectIcon = ({ className, ...props }: IconBaseProps) => (
6-
<IconBase viewBox="0 0 20 16" className={cn(className, "h-4 w-5")} {...props}>
6+
<IconBase viewBox="0 0 20 16" className={cn("h-4 w-5", className)} {...props}>
77
<path d="M8 16L0 9.05375L2.75437 7.06313L7.49875 11.4325L16.8531 0L20 2L8 16Z" />
88
</IconBase>
99
)

src/components/icons/quiz/IncorrectIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { IconBase, type IconBaseProps } from "react-icons/lib"
33
import { cn } from "@/lib/utils/cn"
44

55
export const IncorrectIcon = ({ className, ...props }: IconBaseProps) => (
6-
<IconBase className={cn(className, "size-5")} viewBox="0 0 20 20" {...props}>
6+
<IconBase className={cn("size-5", className)} viewBox="0 0 20 20" {...props}>
77
<path d="M17.5002 0L9.99912 7.49934L2.49978 0L0 2.49978L7.49934 9.99911L0 17.4984L2.49978 19.9982L9.99912 12.4989L17.5002 19.9982L20 17.4984L12.5007 9.99911L20 2.49978L17.5002 0Z" />
88
</IconBase>
99
)

src/components/icons/quiz/StarConfettiIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { cn } from "@/lib/utils/cn"
88
export const StarConfettiIcon = ({ className, ...props }: IconBaseProps) => (
99
<IconBase
1010
viewBox="0 0 185 119"
11-
className={cn(className, "h-[119px] w-[185px]")}
11+
className={cn("h-[119px] w-[185px]", className)}
1212
{...props}
1313
>
1414
<path

0 commit comments

Comments
 (0)