0.14.1 • Published 4 years ago

@tourepedia/icons v0.14.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Icons

We are using svgs for icons.

Installation

npm install --save @tourepedia/icons

Usage

import { PhoneIcon } from "@tourepedia/icons"

function MyComponent() {
  return (
    <div>
      <PhoneIcon title="Call to John doe" />
    </div>
  )
}

Contribution

  1. Generating SVGs Head over to https://icomoon.io/app and choose icon(s). After selecting icon(s), click on Generate SVG & More from bottom navigation. From this view, download the svgs and paste the content of <downloaded_folder>/SVG into the ./svgs folder. Append the styles from <downloaded_folder>/styles.css to ./icon.css.

2 Copy the svg to the src/svgs folder

3 Add appropriate styles to the src/icon.css with css class be tp-icon-[svg-file-name]

4 Run npm run prebuild to build the component and update the imports files

0.14.0

4 years ago

0.14.1

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.10.1

4 years ago

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.3

4 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago