Skip to content

Commit

Permalink
remove element type definition for now
Browse files Browse the repository at this point in the history
  • Loading branch information
joakbjerk committed Nov 28, 2023
1 parent df45a1f commit 6eb6494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/dnb-eufemia/src/components/button/Button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export type ButtonProps = {
*/
skeleton?: ButtonSkeleton;
disabled?: boolean;
inner_ref?: React.Ref<HTMLButtonElement>;
inner_ref?: React.Ref;
className?: string;
innerRef?: any;
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/dnb-eufemia/src/components/dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ export interface DropdownProps
/**
* By providing a React.ref you can get the internally used main element (DOM). E.g. `innerRef={myRef}` by using `React.createRef()` or `React.useRef()`.
*/
innerRef?: React.Ref<HTMLSpanElement>;
innerRef?: React.Ref;
/**
* By providing a React.ref you can get the internally used button element (DOM). E.g. `buttonRef={myRef}` by using `React.createRef()` or `React.useRef()`.
*/
buttonRef?: React.Ref<HtmlButtonElement>;
buttonRef?: React.Ref;
/**
* Same as `prevent_selection`, but the "selection area" (given title) will not be visible and the icon `more` (three dots) is used. Defaults to `false`.
*/
Expand Down

0 comments on commit 6eb6494

Please sign in to comment.