@truehome-assets/loft-website-icons
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Instalation

On your project directory run the command yarn add @truehome-assets/loft-website-icons

Usage

You already have all icons of loft website.

Basic usage

import React from 'react'
import { IconName } from '@truehome-assets/loft-website-icons'

export const App = () => (
  <div>
    <IconName />
  </div>
)

Customize icon

import React from 'react'
import { IconName } from '@truehome-assets/loft-website-icons'

export const App = () => (
  <div>
    <IconName fontSize={28} color="#de3023" />
  </div>
)

Add new Icons

Setup

To set up the proyect run yarn install in order to get all the dependencies required for the project.

Add new icons

To add new icons first move the new svg files into resources/icons, the fill property of the path element should be #191F23.

Run the command line yarn run build

Publish the new version with command line npm publish

Readme

Keywords

Package Sidebar

Install

npm i @truehome-assets/loft-website-icons

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

406 kB

Total Files

209

Last publish

Collaborators

  • truehome-tech