JSPM

@eteg/react-pickers

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q19201F
  • License Apache-2.0

Custom components relating based on Zendesk Garden Design System

Package Exports

  • @eteg/react-pickers
  • @eteg/react-pickers/dist/index.cjs.js
  • @eteg/react-pickers/dist/index.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eteg/react-pickers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Time Picker

Time Picker allows the user to select the hour and minutes in addition to being able to manually type

  • To select a time, use a Time Picker
Prop name Type Default Description
title string - It will define the title that will be positioned at the top of the component
mode string - It will specify for the component which mode it will be used, as 'DEFAULT' mode or as 'MODAL' mode, if the 'MODAL' option is chosen, the 'callback' prop will become mandatory
callback func - Function that will be used only when the 'mode' prop is passed with the value 'MODAL', which will be used to return the value to the parent component