From 77fea756ce1010823c492e5c3b759e900e913d18 Mon Sep 17 00:00:00 2001 From: Josefina Mancilla Date: Wed, 9 Mar 2022 12:05:55 -0600 Subject: [PATCH] fix: timepicker prop types --- packages/react/src/components/TimePicker/next/TimePicker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/components/TimePicker/next/TimePicker.js b/packages/react/src/components/TimePicker/next/TimePicker.js index d5851b7ecd76..2abb0cc3e0fa 100644 --- a/packages/react/src/components/TimePicker/next/TimePicker.js +++ b/packages/react/src/components/TimePicker/next/TimePicker.js @@ -170,11 +170,11 @@ TimePicker.propTypes = { labelText: PropTypes.node, /** - * `true` to use the light version. TODO: V12 remove this. + * The `light` prop for `TimePicker` has been deprecated. It will be removed in the next major release. Use the `Layer` component instead. */ light: deprecate( PropTypes.bool, - 'The `light` prop for `Tile` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead.' + 'The `light` prop for `TimePicker` is no longer needed and has been deprecated. It will be removed in the next major release. Use the `Layer` component instead.' ), /**