Layout

Layout should be used as a root component of the screen, Layout is use for the container of the screen.

Usage#

import { Layout } from 'react-native-rapi-ui';
export default function () {
return <Layout>Your content here</Layout>;
}

Properties#

propsrequiredvalueDefault Value
SafeAreaViewPropsAccepts all View propsHas a default style of {flex: 1}
backgroundColorNostring colorValue#f7f7f7