@common-origin/design-system 1.15.2 → 1.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import iconsData from '@/styles/icons.json';
2
+ import { type IconName } from '../Icon';
3
3
  export interface BaseButtonProps {
4
4
  variant?: 'primary' | 'secondary' | 'naked';
5
5
  size?: 'small' | 'medium' | 'large';
@@ -7,7 +7,7 @@ export interface BaseButtonProps {
7
7
  purpose?: 'button' | 'link';
8
8
  target?: string;
9
9
  children: React.ReactNode;
10
- iconName?: keyof typeof iconsData;
10
+ iconName?: IconName;
11
11
  id?: string;
12
12
  'data-testid'?: string;
13
13
  }