UNPKG

@talend/react-components

Version:
18 lines 523 B
import { useContext } from 'react'; import { DateContext } from '../Context'; import CalendarPicker from '../../pickers/CalendarPicker'; import { jsx as _jsx } from "react/jsx-runtime"; export default function Picker(props) { const { value, pickerManagement } = useContext(DateContext); return /*#__PURE__*/_jsx(CalendarPicker, { manageFocus: true, selectedDate: value.date, ...pickerManagement, ...props }); } Picker.displayName = 'Date.Picker'; //# sourceMappingURL=Picker.component.js.map