UNPKG

triage-button

Version:

The my-button component provides users a way to trigger actions in the UI.

13 lines (9 loc) 354 B
import React from 'react'; import Button from 'terra-button/lib/Button'; import classNames from 'classnames/bind'; import styles from './ButtonDocCommon.module.scss'; const cx = classNames.bind(styles); const ButtonAnchor = () => ( <Button href="#" text="I am rendered with an anchor tag" className={cx('button')} /> ); export default ButtonAnchor;