Skip to content

Commit

Permalink
refactor: rename info icon
Browse files Browse the repository at this point in the history
  • Loading branch information
maxholman committed Dec 26, 2022
1 parent 6c6f915 commit 0fe7295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/callout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
calloutIconClass,
} from './callout.css.js';
import { Box, BoxBasedComponentProps } from './core.js';
import { Info } from './icons.js';
import { InfoIcon } from './icons.js';
import { Block } from './layout.js';
import { Tone, toneVariants } from './tone.css.js';
import type { Merge } from './types.js';
Expand All @@ -26,7 +26,7 @@ export const Callout: FC<
aria-live="polite"
{...props}
>
<Info className={calloutIconClass} />
<InfoIcon className={calloutIconClass} />
<Block textOverflow="break" className={calloutChildrenClass}>
{children}
</Block>
Expand Down
2 changes: 1 addition & 1 deletion lib/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { FC, SVGAttributes } from 'react';

export const Info: FC<SVGAttributes<SVGElement>> = (props) => (
export const InfoIcon: FC<SVGAttributes<SVGElement>> = (props) => (
<svg
stroke="currentColor"
fill="currentColor"
Expand Down

0 comments on commit 0fe7295

Please sign in to comment.