Skip to content

Commit cc3c742

Browse files
committed
feat: change baseNodeProps type
1 parent 424ec4b commit cc3c742

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/ui/src/types/other.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,6 @@ export type PropsSlot = {
5353
trailing?: ReactNode;
5454
};
5555

56-
export type BaseComponentProps<T extends keyof React.JSX.IntrinsicElements> = BaseNodeProps<React.ComponentProps<T>>;
56+
export type BaseComponentProps<T extends keyof React.JSX.IntrinsicElements> = BaseNodeProps<
57+
React.ComponentPropsWithRef<T>
58+
>;

0 commit comments

Comments
 (0)