@carbon/react
Version:
React components for the Carbon Design System
33 lines (31 loc) • 1.17 kB
JavaScript
/**
* Copyright IBM Corp. 2016, 2026
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_FormContext = require("../FluidForm/FormContext.js");
const require_index = require("../DatePickerInput/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/FluidDatePickerInput/FluidDatePickerInput.tsx
/**
* Copyright IBM Corp. 2022, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const FluidDatePickerInput = (0, react.forwardRef)((props, ref) => {
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_FormContext.FormContext.Provider, {
value: { isFluid: true },
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.default, {
ref,
...props
})
});
});
FluidDatePickerInput.propTypes = require_index.default.propTypes;
//#endregion
exports.default = FluidDatePickerInput;