0.0.20 • Published 4 years ago

duodealer-icons v0.0.20

Weekly downloads
4
License
MIT
Repository
-
Last release
4 years ago

duodealer-icons

Duo Dealer React icons based on Material Design Icons

Usage

import React from 'react'
import FlightsIcon from 'duodealer-icons/lib/Flights'

export default props =>
  <FlightsIcon
    mr={2}
    color='blue'
  />

For a complete list of all icons, see: the iconography docs

For backwards compatibility, the Icon component can be used in the same way as in the Design System v1.

Note: The Icon component will be deprecated. Prefer using individual imports as shown above.

import React from 'react'
import Icon from 'pcln-icons'

export default props =>
  <Icon
    name='Flights'
    color='blue'
  />

Development

Custom icon SVGs are included in the svg/ directory.

To build the icons locally, run:

npm run prepare

Run tests:

npm test

Directory Structure

svg/        Source for custom SVG icons
src/        Source for wrapper Icon component
components/ React components for icons
test/       Unit tests
lib/        Icon components compiled to commonjs format
0.0.20

4 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago