Skip to content

Commit 2539d60

Browse files
author
nafees nazik
committed
fix: make ref optional
1 parent 2948147 commit 2539d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function styled<T extends IntrinsicElementsKeys>(
4343
function StyledWrapper(
4444
props: JSX.IntrinsicElements[typeof Tag] &
4545
Omit<VariantProps<typeof classes>, "class">,
46-
ref: any,
46+
ref?: any,
4747
) {
4848
// Grab a shallow copy of the props
4949
let _props = Object.assign({}, props)

0 commit comments

Comments
 (0)