diff --git a/packages/smarthr-ui/src/components/Picker/DatetimeLocalPicker.tsx b/packages/smarthr-ui/src/components/Picker/DatetimeLocalPicker.tsx index 1f723e5394..4e50272382 100644 --- a/packages/smarthr-ui/src/components/Picker/DatetimeLocalPicker.tsx +++ b/packages/smarthr-ui/src/components/Picker/DatetimeLocalPicker.tsx @@ -8,6 +8,7 @@ type Props = { error?: boolean } +/** @deprecated DatetimeLocalPicker は非推奨です。Input[type="datetime-local"] を使ってください。 */ export const DatetimeLocalPicker = forwardRef>( ({ disabled, error, readOnly, className, ...rest }, ref) => { const { wrapperStyle, innerStyle } = useMemo(() => { diff --git a/packages/smarthr-ui/src/components/Picker/MonthPicker.tsx b/packages/smarthr-ui/src/components/Picker/MonthPicker.tsx index eeca0adb4c..37ffa61b11 100644 --- a/packages/smarthr-ui/src/components/Picker/MonthPicker.tsx +++ b/packages/smarthr-ui/src/components/Picker/MonthPicker.tsx @@ -8,6 +8,7 @@ type Props = { error?: boolean } +/** @deprecated MonthPicker は非推奨です。Input[type="month"] を使ってください。 */ export const MonthPicker = forwardRef>( ({ disabled, error, readOnly, className, ...rest }, ref) => { const { wrapperStyle, innerStyle } = useMemo(() => { diff --git a/packages/smarthr-ui/src/components/Picker/TimePicker.tsx b/packages/smarthr-ui/src/components/Picker/TimePicker.tsx index d48618f288..2562882eb1 100644 --- a/packages/smarthr-ui/src/components/Picker/TimePicker.tsx +++ b/packages/smarthr-ui/src/components/Picker/TimePicker.tsx @@ -8,6 +8,7 @@ type Props = { error?: boolean } +/** @deprecated TimePicker は非推奨です。Input[type="time"] を使ってください。 */ export const TimePicker = forwardRef>( ({ disabled, error, readOnly, className, ...rest }, ref) => { const { wrapperStyle, innerStyle } = useMemo(() => {