0.1.4 • Published 3 years ago

@yellowspot/web-utils v0.1.4

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

@yellowspot/web-utils

npm

@yellowspot/web-utils

Components

Image with fallback/placeholder

import { Img } from '@yellowspot/web-utils';

import placeholder from './placeholder.png';

...

<Img
  src="https://some.image.png"
  fallback={placeholder}
  alt="logo"
  height="140"
  //...others img valid props
/>

Development

Getting Started with Create React App

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm start

Runs the sample app in the development mode.\ Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.\ You will also see any lint errors in the console.

npm run test

Launches the test runner in the interactive watch mode.\ See the section about running tests for more information.

npm run build

Builds the library for production to the dist folder.\

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago