Skip to content

Commit

Permalink
Export props type (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Geron authored Aug 21, 2023
1 parent 8e14e8c commit b69db8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/IVSPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const VIEW_NAME = 'AmazonIvs';

const IVSPlayer = requireNativeComponent<IVSPlayerProps>(VIEW_NAME);

type Props = {
export type Props = {
style?: ViewStyle;
testID?: string;
paused?: boolean;
Expand Down
5 changes: 2 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from './enums';
export * from './types';
import IVSPlayer from './IVSPlayer';

export default IVSPlayer;
export { default } from './IVSPlayer';
export type { Props as IVSPlayerProps } from './IVSPlayer';

0 comments on commit b69db8c

Please sign in to comment.