layzily
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

layzily

Usage

<Layzily
  src="https://high-res-image.jpg"
  alt="I'm lazy"
  actual={({ imageProps }) => <img alt={imageProps.alt} {...imageProps} />}
  fallback={({ imageProps, ref }) => <img ref={ref} alt={imageProps.alt} src="https://low-res-image.jpg" />}
/>

/layzily/

    Package Sidebar

    Install

    npm i layzily

    Weekly Downloads

    3

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    78.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • bdelo