UNPKG

react-ions

Version:

An open source set of React components that implement Ambassador's Design and UX patterns.

17 lines (14 loc) 642 B
import React from 'react' import ButtonAnchor from 'react-ions/lib/components/Button/ButtonAnchor' import Icon from 'react-ions/lib/components/Icon' const ExampleButtonAnchor = () => ( <div> <ButtonAnchor path='http://www.google.com' optClass='success'>External</ButtonAnchor> <ButtonAnchor path='http://www.google.com' target='_blank' collapse={true}> <span>External (new window)</span> <Icon name='icon-power-1' height='14' width='14'></Icon> </ButtonAnchor> <ButtonAnchor path='/components/progress-bar' internal={true} optClass='plain'>Internal</ButtonAnchor> </div> ) export default ExampleButtonAnchor