Skip to content

Commit 8459793

Browse files
fix: export IconButtonProps to be used in helper-plugin migration (#1306)
1 parent f9904f6 commit 8459793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/strapi-design-system/src/IconButton/IconButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type ChildrenWithAriaLabel = AriaLabelOnlyProps & ChildrenOnlyProps;
3838
type IconWithLabel = LabelOnlyProps & IconOnlyProps;
3939
type IconWithAriaLabel = AriaLabelOnlyProps & IconOnlyProps;
4040

41-
type IconButtonProps = ChildrenWithLabel | ChildrenWithAriaLabel | IconWithLabel | IconWithAriaLabel;
41+
export type IconButtonProps = ChildrenWithLabel | ChildrenWithAriaLabel | IconWithLabel | IconWithAriaLabel;
4242

4343
export const IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(
4444
(

0 commit comments

Comments
 (0)