View

A basic View component that should render nicely on any platform. Supports a good level of customization.

You can customization View component with the Props

Usage#

import React, {FC} from 'react';
import {Body, View} from 'qdmrncomponents';
const App: FC = () => {
return (
<Body>
<View />
</Body>
);
};

Reference#

Props#

here all the list of Props you can use for View Component and it Inherits all ViewProps Props, from React Native

type#

props can change the direction of the View, two type of view directions are 'row' and 'col' type string

bgColor#

props can change the background color of the View area type string

defaut it is white#

paddingAll#

props for padding for all the four sides of the Body by default it none number

defaut it is none#

paddingLR#

props for padding for left and right of the Body by default it none number

defaut it is none#

paddingTB#

props for padding for top and bottom the four sides of the Body by default it none number

defaut it is none#

V_Aligin_center#

props for aligin the elements to vertical align center boolean

H_Aligin_center#

props for aligin the elements to horizontal align center boolean

inlineStyle#

props give addition props to the Button element type Object