-
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used [patch-package](https://github.com/ds300/patch-package) to patch `react-native-modal-datetime-picker@17.1.0` for the pr…
-
Thanks you made this checkbox, but still have some problems in v1.0.3. It will get a warning if you use like "rightTextStyle={styles.checkboxRightTextStyle}".I think the proptypes is not current.
The…
-
## React.PropTypes
> 组件的属性可以接受任意值,字符串、对象、函数等等。有时候需要一种机制,来验证使用组件的时候,提供的组件属性值是否符合要求。这时就要使用propTypes属性来校验。React.PropTypes提供很多的验证器来验证传入数据的有效性,当向props传入无效数据是,js控制台就会抛出警告。
## 写在前面:
- 随着应用不断变大,保证组件被正确…
-
It would be nice to display auto-generated component API documentation based on the propTypes and optional comments. I have a partial implementation of this using https://github.com/reactjs/react-docg…
-
-
eg:
```js
Appear.defaultProps = {
transitionDuration: 300
};
Appear.propTypes = {
children: PropTypes.node,
fragment: PropTypes.object,
route: PropTypes.object,
style: PropTypes…
-
### Package
@carbon/react
### Browser
Chrome, Safari, Firefox, Edge
### Package version
1.58.1
### React version
18
### Description
When I start with a tablist that does not…
-
## What
Inspect a component's runtime propTypes to determine what to show in its ArgsTable
## Why
Currently, Storybook extracts ArgTypes for JS React components using [react-docgen](https://g…
-
- Внедрить проверку типов PropTypes
https://ru.reactjs.org/docs/typechecking-with-proptypes.html
-
Hi,
propTypes is not yet updated in npm packages, please check and update the code.