[IMPROVE] - migrated forgot file
This commit is contained in:
parent
9525786c0a
commit
107d4da851
|
@ -11,7 +11,7 @@ import { ThemeContext } from '../../theme';
|
||||||
const stories = storiesOf('RoomHeader', module);
|
const stories = storiesOf('RoomHeader', module);
|
||||||
|
|
||||||
// TODO: refactor after react-navigation v6
|
// TODO: refactor after react-navigation v6
|
||||||
const HeaderExample = ({ title }) => (
|
const HeaderExample = ({ title }: any) => (
|
||||||
<Header
|
<Header
|
||||||
headerTitle={() => (
|
headerTitle={() => (
|
||||||
<View style={{ flex: 1, paddingHorizontal: 12 }}>
|
<View style={{ flex: 1, paddingHorizontal: 12 }}>
|
||||||
|
@ -77,7 +77,7 @@ stories.add('thread', () => (
|
||||||
</>
|
</>
|
||||||
));
|
));
|
||||||
|
|
||||||
const ThemeStory = ({ theme }) => (
|
const ThemeStory = ({ theme }: any) => (
|
||||||
<ThemeContext.Provider
|
<ThemeContext.Provider
|
||||||
value={{ theme }}
|
value={{ theme }}
|
||||||
>
|
>
|
Loading…
Reference in New Issue