Skip to content

Commit

Permalink
feat: Changed icons prefix to Genesys
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Pinedo committed Oct 4, 2022
1 parent 7c44e33 commit d816c1d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const config = {
prefix: 'Icon',
fontName: 'icon',
prefix: 'GI',
fontName: 'gi',
};
8 changes: 4 additions & 4 deletions stories/components/Popper/CustomPopper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { FC, Dispatch, SetStateAction } from 'react';
import decamelize from 'decamelize';
import { SingleItem } from '../Gallery/types';
import { IconArrowDown1, IconCopy } from '../../../dist';
import { GIArrowDown1, GICopy } from '../../../dist';
import { highlight } from './highlight';
import {
StyledTextCode,
Expand Down Expand Up @@ -49,7 +49,7 @@ export const CustomPopper: FC<PopperProps> = ({
onClick={() => true}
title={'Download icon in SVG format'}
>
<IconArrowDown1 size={'14'} />
<GIArrowDown1 size={'14'} />
<span>SVG</span>
</StyledButton>
</div>
Expand All @@ -67,7 +67,7 @@ export const CustomPopper: FC<PopperProps> = ({
''
)}
<StyledIconButton onClick={() => true} title={'Copy class name'}>
<IconCopy size={'14'} />
<GICopy size={'14'} />
</StyledIconButton>
</StyledText>
</div>
Expand All @@ -93,7 +93,7 @@ export const CustomPopper: FC<PopperProps> = ({
onClick={() => true}
title={'Copy react component code'}
>
<IconCopy size={'14'} />
<GICopy size={'14'} />
</StyledIconButton>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions stories/react/Icon.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import * as React from 'react';
import { Story, Meta } from '@storybook/react';

import { IconBubbleChart } from '../../dist/';
import { GIBubbleChart } from '../../dist/';

export default {
title: 'React/Icon',
component: IconBubbleChart,
component: GIBubbleChart,
argTypes: {
color: {
control: 'color',
Expand All @@ -22,7 +22,7 @@ export default {
},
} as Meta;

export const SingleIcon: Story = (args) => <IconBubbleChart {...args} />;
export const SingleIcon: Story = (args) => <GIBubbleChart {...args} />;
SingleIcon.args = {
title: 'Some title',
color: 'rgba(0, 0, 190, 1)',
Expand Down

0 comments on commit d816c1d

Please sign in to comment.