Get started
Installation
With pnpm :
pnpm add react-native-ficus-uiWith npm :
npm install react-native-ficus-uiWith yarn :
yarn add react-native-ficus-uiThen, install the pods for iOS :
cd ios && pod installUsage
You need to wrap your root component inside ThemeProvider component from react-native-ficus-ui.
import { AppRegistry } from 'react-native';
import { ThemeProvider } from 'react-native-ficus-ui';
import App from './src/App';
export default function Main() {
return (
<ThemeProvider>
<App />
</ThemeProvider>
);
}
AppRegistry.registerComponent('main', () => Main);