How to use the react-native-fast-image.propTypes function in react-native-fast-image

To help you get started, we’ve selected a few react-native-fast-image examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hummingbird-me / kitsu-mobile / src / screens / Intro / Step.js View on Github external
import styles from './styles';

const Step = ({ title, desc, image }) => (
  
);

Step.propTypes = {
  title: PropTypes.string.isRequired,
  desc: PropTypes.string.isRequired,
  image: FastImage.propTypes.source.isRequired,
};

export default Step;

react-native-fast-image

🚩 FastImage, performant React Native image component.

MIT
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis