From fa803f35f8cf3963fe0a1834b8e7a2d2845dc044 Mon Sep 17 00:00:00 2001 From: th0was14 Date: Thu, 25 Apr 2024 11:04:09 +0200 Subject: [PATCH] Update README.md InputConstants doesn't exist anymore --- packages/Form/Input/date/README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/Form/Input/date/README.md b/packages/Form/Input/date/README.md index c1a706183..1bf8b9bfe 100644 --- a/packages/Form/Input/date/README.md +++ b/packages/Form/Input/date/README.md @@ -47,7 +47,7 @@ npm i @axa-fr/react-toolkit-form-input-date ```javascript import { DateInput } from '@axa-fr/react-toolkit-form-input-date'; -import { InputConstants, MessageTypes } from '@axa-fr/react-toolkit-form-core'; +import { MessageTypes } from '@axa-fr/react-toolkit-form-core'; import '@axa-fr/react-toolkit-form-input-date/dist/af-date.css'; import '@axa-fr/react-toolkit-form-core/dist/af-form.css'; ``` @@ -70,12 +70,6 @@ const MyDateInput = () => ( value={Date('2021-12-17')} messageType={MessageTypes.success} forceDisplayMessage={true} - classNameContainerLabel={ - InputConstants.defaultProps.classNameContainerLabel - } - classNameContainerInput={ - InputConstants.defaultProps.classNameContainerInput - } /> );