2.0.1 • Published 7 years ago
fyndiq-icon-arrow v2.0.1
fyndiq-icon-arrow
An arrow icon for Fyndiq
Installation
The component can be installed through NPM:
npm i -S fyndiq-icon-arrow
Usage
import React from 'react'
import Arrow from 'fyndiq-icon-arrow'
// Basic usage
<Arrow />
// Change orientation of the arrow
<Arrow orientation="down" />
API
The icon Arrow
has the following customizable props:
Name | Type | Description | Default value |
---|---|---|---|
orientation | String | Orientation of the arrow (can be up , down , right or left ) | left |
className | String | Optional class for advanced styling | '' |