@graffft-waggle/icon
TypeScript icon, indicating that this package has built-in type declarations

0.0.4-alpha.3 • Public • Published

filename: /packages/atoms/Icon/Icon.tsx

Icon API

The API documentation of the Icon Graffft Waggle component.

Import

import { Icon } from '@graffft-waggle/icon';

Icon

Required Props

Name Type Description
title "github"|"linkedin"|"codepen"|"stackoverflow"|"gmail"|"gatsby"|"php"|"wordpress"|"angular"|"react"|"css"|"html"|"docker"|"k8s"|"ruby"|"jest"|"python"|"javascript"|"redux"|"typescript"|"git" The name of the icon. This text is also used in the svg <title> tag.

Optional Props

Name Type Default Description
color string '#000' The color of the svg icon.
size string 24px Size (width and height) of the icon.

Demos

  • TODO

Readme

Keywords

Package Sidebar

Install

npm i @graffft-waggle/icon

Weekly Downloads

0

Version

0.0.4-alpha.3

License

MIT

Unpacked Size

67.6 kB

Total Files

10

Last publish

Collaborators

  • dankreiger