Skip to content

Commit a4769ea

Browse files
feat: export AutolinkComponentProps type (#69)
Make this prop available so consuming applications don't have to manually re-type it.
1 parent 566d9aa commit a4769ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Autolink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export interface AutolinkProps {
6969
useNativeSchemes?: boolean;
7070
}
7171

72-
type AutolinkComponentProps<C extends React.ElementType = typeof Text> = PolymorphicComponentProps<
72+
export type AutolinkComponentProps<C extends React.ElementType = typeof Text> = PolymorphicComponentProps<
7373
C,
7474
AutolinkProps
7575
>;

0 commit comments

Comments
 (0)