0.2.6 • Published 8 months ago

@logo-rn/logo-date-time-edit v0.2.6

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

@logo-rn/logo-date-time-edit

allows user to select the date and time.

npm version

Installation

Install the component:

npm i @logo-rn/logo-date-time-edit -s

Usage

Once installed, import the component in your application:

import {LogoDateTimeEdit} from '@logo-rn/logo-date-time-edit';
const [date, setDate] = React.useState(null);
     const [time, setTime] = React.useState(null);
     <LogoDateTimeEdit
        id="datetime"
        time={time}
        setTime={setTime}
        mode="DateTime"
        lang={lang}
        dateTime={date}
        setDate={(date: any) => setDate(date)}
    />

For more detailed information, please visit:

Logo Elements Documentation ↗