date-picker
v0.0.4arrow_drop_downv0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
361
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
2 years ago
SIZE
79 KB
Renders a HTML Button element and a dropdown list into a parent container;
1 contributor
Like
Install date-picker as a package?
Copied
npm i @bit/lekanmedia.shared-ui.date-picker
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example 
modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout

chevron_left
chevron_right
DatePicker (
props.addClass:
string
,props.listClass:
string
,props.text:
string
,props.textStyle:
object
,props.icon:
string
,props.iconStyle:
object
,props.dropdownStyle:
object
,props.children:
JSX.Element
,props.onSelect:
) : function
JSX.Element
Renders a HTML Button element and a dropdown list into a parent container;
Arguments
props.addClass:
string
Add extra class styles to overwrite default class.
props.listClass:
string
Add extra class styles to overwrite default class of the dropdown list.
props.text:
string
Text for the button.
props.textStyle:
object
Style Inline CSS styles for the button text.
props.icon:
string
Google Material Icon for the button.
props.iconStyle:
object
Style Inline CSS styles for icon.
props.dropdownStyle:
object
Style Inline CSS styles for the dropdown list.
props.children:
JSX.Element
HTML list elements such as <li></li>
, <ol></ol>
,
<option></option>
rendered as dropdown list elements.
props.onSelect:
function
onSelect event fires after clicking on a date.
Returns
JSX.Element
A Calendar UI.