Skip to content

Commit

Permalink
feat: export AutolinkComponentProps type (#69)
Browse files Browse the repository at this point in the history
Make this prop available so consuming applications don't have to manually re-type it.
  • Loading branch information
ray-holland-es committed Mar 13, 2023
1 parent 566d9aa commit a4769ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autolink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface AutolinkProps {
useNativeSchemes?: boolean;
}

type AutolinkComponentProps<C extends React.ElementType = typeof Text> = PolymorphicComponentProps<
export type AutolinkComponentProps<C extends React.ElementType = typeof Text> = PolymorphicComponentProps<
C,
AutolinkProps
>;
Expand Down

0 comments on commit a4769ea

Please sign in to comment.