date-time

v0.0.6arrow_drop_down
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
160
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
This components uses date-io adapters. For material-ui-pickers v3 use v1.x version of @date-io adapters.
1 contributor
Install date-time as a package?
Copied
npm i @bit/totalsoft_components.ts_react_components.date-time
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
Properties
NameTypeDefault value
value
anynull
onChange
function() => { }
dateFormat
string"DD-MM-YYYY"
timeFormat
string"HH:mm"
label
string"Date Time"
disabled
boolfalse
variant
"dialog" | "inline" | "static""inline"
views
"date" | "year" | "month" | "hours" | "minutes"[]["date"]
autoOk
booltrue
disablePast
bool
disableFuture
bool
disableToolbar
booltrue
allowKeyboardControl
bool
ampm
boolfalse
showTime
bool
error
bool
helperText
string
clearable
bool
Help and resources