@carbon/react
Version:
React components for the Carbon Design System
40 lines (39 loc) • 1.06 kB
TypeScript
/**
* Copyright IBM Corp. 2022
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
export interface FluidDatePickerProps {
/**
* The child node(s)
*/
children?: React.ReactNode;
/**
* Specify an optional className to be applied to the outer FluidForm wrapper
*/
className?: string;
/**
* Specify whether or not the control is invalid
*/
invalid?: boolean;
/**
* Provide the text that is displayed when the control is in error state
*/
invalidText?: React.ReactNode;
/**
* Whether the input should be read-only
*/
readOnly?: boolean;
/**
* Specify whether the control is currently in warning state
*/
warn?: boolean;
/**
* Provide the text that is displayed when the control is in warning state
*/
warnText?: React.ReactNode;
}
declare const FluidDatePicker: React.FC<FluidDatePickerProps>;
export default FluidDatePicker;