UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

27 lines (25 loc) 611 B
import { DatePickerTrigger } from "./chunk-SKOX5PJI.js"; import { DatePickerParts } from "./chunk-BXDQ5AXV.js"; // src/components/date-picker/input.tsx import { jsx, jsxs } from "react/jsx-runtime"; function DatePickerInput(props) { return /* @__PURE__ */ jsxs(DatePickerParts.Control, { children: [ /* @__PURE__ */ jsx(DatePickerTrigger, {}), /* @__PURE__ */ jsx( DatePickerParts.Input, { ...props, maxLength: 11, placeholder: props.placeholder ?? "DD MMM YYYY" } ) ] }); } export { DatePickerInput }; //# sourceMappingURL=chunk-IVQCMXV6.js.map