Fix PropTypes folder path typo in documentation for Preact (#14505)
* Fix PropTypes folder path typo in documentation for Preact * Fix PropTypes folder path typo in documentation for Preact * Rollback unnecessary text update
This commit is contained in:
parent
f54b6c27ef
commit
55b0224d78
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ creating Preact components, please ensure that you have defined your PropTypes.
|
|||
Using PropTypes can be repetitive. Some duplication is normal, like when a
|
||||
PropType is a string or a number. But for commonly-used PropTypes, like the user
|
||||
entity, you can use the provided common PropTypes, located in the
|
||||
`/app/javascript/src/components/common-prop-types`, as shown below.
|
||||
`/app/javascript/common-prop-types`, as shown below.
|
||||
|
||||
```javascript
|
||||
import PropTypes from 'prop-types';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue