Skip to content

Commit

Permalink
feat: add tuto icon (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpasquet authored Oct 18, 2023
1 parent 483f863 commit a280261
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@eleven-labs/design-system",
"description": "Design System for Eleven Labs",
"version": "0.6.2",
"version": "0.6.3",
"repository": {
"type": "git",
"url": "https://github.com/eleven-labs/design-system.git"
Expand Down
1 change: 1 addition & 0 deletions src/assets/svgs/tuto.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Atoms/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { pascalCase } from '@/helpers/stringHelper';
import { colorSystemClassName, omitSystemProps, spacingSystemClassName } from '@/helpers/systemPropsHelper';
import { ColorSystemProps, IconNameType, MarginSystemProps } from '@/types';

export type IconProps = Omit<React.SVGProps<SVGSVGElement>, 'color'> &
export type IconProps = Omit<React.SVGProps<SVGSVGElement>, 'name' | 'color'> &
MarginSystemProps &
Pick<ColorSystemProps, 'color'> & {
name: IconNameType;
Expand Down
3 changes: 3 additions & 0 deletions src/designTokens/asset/icon.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
},
"github": {
"value": "svgs/github.svg"
},
"tuto": {
"value": "svgs/tuto.svg"
}
}
}
Expand Down

0 comments on commit a280261

Please sign in to comment.