react-samay
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -668,30 +668,31 @@ var $83Duu$reactjsxruntime = require("react/jsx-runtime"); | ||
`; | ||
const $c16740f6382790a5$var$defaultProps = { | ||
id: "", | ||
disabled: false, | ||
prefixCls: "react-samay", | ||
defaultOpen: false, | ||
inputReadOnly: false, | ||
className: "", | ||
popupClassName: "", | ||
inputClassName: "", | ||
defaultOpenValue: new Date(), | ||
use12Hours: false, | ||
showHour: true, | ||
showMinute: true, | ||
showSecond: true, | ||
disabledHours: ()=>[], | ||
disabledMinutes: ()=>[], | ||
disabledSeconds: ()=>[], | ||
hideDisabledOptions: false, | ||
onChange: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onAmPmChange: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onOpen: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onClose: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onFocus: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onBlur: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onKeyDown: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
getAriaLabel: ()=>"react-samay-input-time" | ||
}; | ||
class $c16740f6382790a5$export$2e2bcd8739ae039 extends (0, $83Duu$react.Component) { | ||
static defaultProps = { | ||
id: "", | ||
disabled: false, | ||
prefixCls: "react-samay", | ||
defaultOpen: false, | ||
inputReadOnly: false, | ||
className: "", | ||
popupClassName: "", | ||
inputClassName: "", | ||
defaultOpenValue: new Date(), | ||
use12Hours: false, | ||
showHour: true, | ||
showMinute: true, | ||
showSecond: true, | ||
disabledHours: ()=>[], | ||
disabledMinutes: ()=>[], | ||
disabledSeconds: ()=>[], | ||
hideDisabledOptions: false, | ||
onChange: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onAmPmChange: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onOpen: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onClose: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onFocus: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onBlur: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
onKeyDown: (0, $69e6bb98e7bc51ac$export$8793edee2d425525), | ||
getAriaLabel: ()=>"react-samay-input-time" | ||
}; | ||
static defaultProps = $c16740f6382790a5$var$defaultProps; | ||
constructor(props){ | ||
@@ -698,0 +699,0 @@ super(props); |
{ | ||
"name": "react-samay", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Time picker for React.js", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/sushantdhiman/react-samay", |
@@ -43,3 +43,4 @@ import React, { Component, KeyboardEvent } from "react"; | ||
}; | ||
type PickerProps = typeof Picker.defaultProps & Props; | ||
declare const defaultProps: Partial<Props>; | ||
type PickerProps = typeof defaultProps & Props; | ||
export class TimePicker extends Component<PickerProps, { | ||
@@ -46,0 +47,0 @@ value: Date; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
104977
885