Skip to content

Commit

Permalink
docs: remove InputConstants import (file doesn't exist anymore)
Browse files Browse the repository at this point in the history
InputConstants doesn't exist anymore
  • Loading branch information
th0was14 authored May 13, 2024
1 parent a30554f commit 4b1cae6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/Form/Input/date/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
```
Expand All @@ -70,12 +70,6 @@ const MyDateInput = () => (
value={Date('2021-12-17')}
messageType={MessageTypes.success}
forceDisplayMessage={true}
classNameContainerLabel={
InputConstants.defaultProps.classNameContainerLabel
}
classNameContainerInput={
InputConstants.defaultProps.classNameContainerInput
}
/>
</form>
);
Expand Down

0 comments on commit 4b1cae6

Please sign in to comment.