@croquiscom/pds 0.10.0 → 0.10.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 530de3d: IconProp 커스텀 불가한 케이스 오버라이딩 제거
8
+
3
9
  ## 0.10.0
4
10
 
5
11
  ### Minor Changes
@@ -1,11 +1,12 @@
1
1
  import React, { ReactElement } from 'react';
2
2
  import { ButtonShape, IconButtonVariant } from './types';
3
3
  import { ButtonProps } from './Button';
4
+ import { IconProps } from '../icons/generated';
4
5
  export interface IconButtonProps extends Omit<ButtonProps, 'size'> {
5
6
  /** @default secondary */
6
7
  variant?: IconButtonVariant;
7
8
  /** 렌더링 될 아이콘 요소 */
8
- icon?: ReactElement;
9
+ icon?: ReactElement<IconProps>;
9
10
  /** @default rectangle */
10
11
  shape?: ButtonShape;
11
12
  }