Skip to content

Commit

Permalink
fix: migrate new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Averethel committed Nov 13, 2024
1 parent c56b39f commit bb7040d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
5 changes: 2 additions & 3 deletions src/components/icons/BulbIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import { ComponentWithAs } from '@chakra-ui/system';
import { createIcon, IconProps } from '@chakra-ui/react';
import { createIcon } from '@chakra-ui/react';

export const BulbIcon: ComponentWithAs<'svg', IconProps> = createIcon({
export const BulbIcon = createIcon({
displayName: 'Bulb',
viewBox: '0 0 24 24',
path: (
Expand Down
5 changes: 2 additions & 3 deletions src/components/icons/NoPhotoIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import { ComponentWithAs } from '@chakra-ui/system';
import { createIcon, IconProps } from '@chakra-ui/react';
import { createIcon } from '@chakra-ui/react';

export const NoPhotoIcon: ComponentWithAs<'svg', IconProps> = createIcon({
export const NoPhotoIcon = createIcon({
displayName: 'No photo',
viewBox: '0 0 24 24',
path: (
Expand Down
5 changes: 2 additions & 3 deletions src/components/icons/ThumbsDownIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import { ComponentWithAs } from '@chakra-ui/system';
import { createIcon, IconProps } from '@chakra-ui/react';
import { createIcon } from '@chakra-ui/react';

export const ThumbsDownIcon: ComponentWithAs<'svg', IconProps> = createIcon({
export const ThumbsDownIcon = createIcon({
displayName: 'Thumbs down',
viewBox: '0 0 24 24',
path: (
Expand Down
5 changes: 2 additions & 3 deletions src/components/icons/ThumbsUpIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import { ComponentWithAs } from '@chakra-ui/system';
import { createIcon, IconProps } from '@chakra-ui/react';
import { createIcon } from '@chakra-ui/react';

export const ThumbsUpIcon: ComponentWithAs<'svg', IconProps> = createIcon({
export const ThumbsUpIcon = createIcon({
displayName: 'Thumbs up',
viewBox: '0 0 24 24',
path: (
Expand Down

0 comments on commit bb7040d

Please sign in to comment.