Skip to content

Commit

Permalink
fix: change forwardRef from HTMLDivElement to Element
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Sep 9, 2024
1 parent 641dd15 commit 7e0fb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Container/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface ContainerProps extends RBContainerProps {

type ContainerType = ComponentWithAsProp<'div', ContainerProps>;

const Container: ContainerType = React.forwardRef<HTMLDivElement, ContainerProps>(({
const Container: ContainerType = React.forwardRef<Element, ContainerProps>(({
size,
children,
...props
Expand Down

0 comments on commit 7e0fb5c

Please sign in to comment.