0.2.3 • Published 8 months ago

@logo-rn/logo-form-cell v0.2.3

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
8 months ago

@logo-rn/logo-form-cell

is a singleline item to take quick actions and accesses on the screen.

npm version

Installation

Install the component:

npm i @logo-rn/logo-form-cell -s

Usage

Once installed, import the component in your application:

import {LogoFormCell} from '@logo-rn/logo-form-cell';
 const [isSwitchOn, setIsSwitchOn] = React.useState(false);
 const onToggleSwitch = () => setIsSwitchOn(!isSwitchOn);
 //..
    <LogoFormCell>
         <LogoFormCell.Header style={{ marginTop: 44 }} text="Ayarlar" />
        <LogoFormCell.Switch
           title="Bildirimleri göster"
           value={isSwitchOn}
           onValueChange={onToggleSwitch}
         />
       </LogoFormCell>

For more detailed information, please visit:

Logo Elements Documentation ↗