[IMPROVE] - migrated forgot file

This commit is contained in:
AlexAlexandre 2021-07-28 14:42:18 -03:00
parent 9525786c0a
commit 107d4da851
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}
> >