Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit a52e472

Browse files
Federkunflorello-tbox
authored andcommitted
RichTextInput is not part of react-admin. Import from ra-input-rich-text instead.
1 parent c378969 commit a52e472

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

admin/getting-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ Example to add a minLength validator on the `description` field:
198198

199199
```javascript
200200
import React, { Component } from 'react';
201-
import { minLength, RichTextInput } from 'react-admin';
201+
import { minLength } from 'react-admin';
202+
import RichTextInput from 'ra-input-rich-text';
202203
import { AdminBuilder, hydraClient } from '@api-platform-admin';
203204
import parseHydraDocumentation from '@api-platform/api-doc-parser/lib/hydra/parseHydraDocumentation';
204205

0 commit comments

Comments
 (0)