Skip to main content

Get started

React Native Ficus UI banner

Installation

With npm :

npm install react-native-ficus-ui

With yarn :

yarn add react-native-ficus-ui

Then, install the pods for iOS :

cd ios && pod install

Usage

You need to wrap your root component inside ThemeProvider component from react-native-ficus-ui.

index.js
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);