0.0.4-alpha.3 • Published 2 years ago
@graffft-waggle/icon v0.0.4-alpha.3
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