diff --git a/example/src/App.tsx b/example/src/App.tsx index ba72b19..911227b 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -18,9 +18,10 @@ import { createStackNavigator } from '@react-navigation/stack'; // Screens import Home, { ToggleThemeButton } from './screens/Home'; +import Playground from './screens/Playground'; import Whatsapp from './screens/Whatsapp'; import Telegram from './screens/Telegram'; -import Playground from './screens/Playground'; +import Clubhouse, { ClubhouseNavButton } from './screens/Clubhouse'; // Hold Menu import { HoldMenuProvider } from 'react-native-hold-menu'; @@ -97,6 +98,18 @@ const App = () => { options={{ ...headerOptions }} component={Telegram} /> + , + }} + component={Clubhouse} + /> diff --git a/example/src/screens/Clubhouse/Clubhouse.tsx b/example/src/screens/Clubhouse/Clubhouse.tsx new file mode 100644 index 0000000..74da4c7 --- /dev/null +++ b/example/src/screens/Clubhouse/Clubhouse.tsx @@ -0,0 +1,17 @@ +import React from 'react'; +import { StyleSheet, View } from 'react-native'; + +import StyleGuide from '../../utilities/styleGuide'; + +const Clubhouse = () => { + return ; +}; + +export default Clubhouse; + +const styles = StyleSheet.create({ + container: { + backgroundColor: StyleGuide.palette.clubhouse.background, + flex: 1, + }, +}); diff --git a/example/src/screens/Clubhouse/ClubhouseNavButton.tsx b/example/src/screens/Clubhouse/ClubhouseNavButton.tsx new file mode 100644 index 0000000..e386867 --- /dev/null +++ b/example/src/screens/Clubhouse/ClubhouseNavButton.tsx @@ -0,0 +1,24 @@ +import React from 'react'; +import { StyleSheet, View } from 'react-native'; + +import Icons from 'react-native-vector-icons/Feather'; + +import { HoldItem } from 'react-native-hold-menu'; + +const ClubhouseNavButton = () => { + return ( + + {} }]}> + + + + ); +}; + +export default ClubhouseNavButton; + +const styles = StyleSheet.create({ + container: { + marginLeft: 16, + }, +}); diff --git a/example/src/screens/Clubhouse/index.ts b/example/src/screens/Clubhouse/index.ts new file mode 100644 index 0000000..b20dc13 --- /dev/null +++ b/example/src/screens/Clubhouse/index.ts @@ -0,0 +1,2 @@ +export { default } from './Clubhouse'; +export { default as ClubhouseNavButton } from './ClubhouseNavButton'; diff --git a/example/src/utilities/styleGuide.ts b/example/src/utilities/styleGuide.ts index 0314bf6..cefbcbb 100644 --- a/example/src/utilities/styleGuide.ts +++ b/example/src/utilities/styleGuide.ts @@ -40,10 +40,13 @@ const StyleGuide = { color: '#474747', }, dark: { - background: 'black', + background: '#FFF', color: '#FFF', }, }, + clubhouse: { + background: '#F3F0E7', + }, }, typography: { body: {