Skip to content

Commit

Permalink
feat(Accordion): export type AccordionIconPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed May 31, 2023
1 parent bb4d70e commit ff05f9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dnb-eufemia/src/components/accordion/Accordion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export type AccordionIcon =
expanded?: React.ReactNode | ((...args: any[]) => any);
};
export type AccordionAttributes = string | Record<string, unknown>;
export type AccordionIconPosition = ButtonIconPosition;
export interface AccordionProps
extends Omit<React.HTMLProps<HTMLElement>, 'ref'>,
SpacingProps {
Expand Down Expand Up @@ -129,7 +130,7 @@ export interface AccordionProps
/**
* Will set the placement of the icon. Defaults to `left`.
*/
icon_position?: ButtonIconPosition;
icon_position?: AccordionIconPosition;

/**
* Define a different icon size. Defaults to `medium` (1.5rem).
Expand Down

0 comments on commit ff05f9f

Please sign in to comment.