Skip to content

Commit

Permalink
refactor: start moving styles for header components from react-naviga…
Browse files Browse the repository at this point in the history
…tion to screens
  • Loading branch information
kkafar committed Oct 7, 2024
1 parent 6e9fd4a commit 78fc482
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/ScreenStackHeaderConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,18 @@ import ScreenStackHeaderSubviewNativeComponent from '../fabric/ScreenStackHeader

export const ScreenStackHeaderConfig: React.ComponentType<ScreenStackHeaderConfigProps> =
ScreenStackHeaderConfigNativeComponent as any;

Check warning on line 16 in src/components/ScreenStackHeaderConfig.tsx

View workflow job for this annotation

GitHub Actions / install-and-lint

Unexpected any. Specify a different type

export const ScreenStackHeaderSubview: React.ComponentType<
React.PropsWithChildren<ViewProps & { type?: HeaderSubviewTypes }>
> = ScreenStackHeaderSubviewNativeComponent as any;

Check warning on line 20 in src/components/ScreenStackHeaderConfig.tsx

View workflow job for this annotation

GitHub Actions / install-and-lint

Unexpected any. Specify a different type

// export function ScreenStackHeaderConfig(props: ScreenStackHeaderConfigProps): React.JSX.Element
// {
// return (
// <ScreenStackHeaderConfigNativeComponent {...props} />
// )
// }

export const ScreenStackHeaderBackButtonImage = (
props: ImageProps,
): JSX.Element => (
Expand Down

0 comments on commit 78fc482

Please sign in to comment.