prop-types-falsy
Installation
npm install prop-types-falsy
Usage
const falsy = ; MyComponentpropTypes = items: PropTypesisRequired; <MyComponent items= x: 'hello' y: 10 isXxxx && x: 'cool' y: 100 myItemslength && x: 'wow' y: 1000 />;
License
MIT © C.T.Lin