UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

21 lines (20 loc) 704 B
/** * ButtonTag module. * @module @massds/mayflower-react/ButtonTag * @requires module:@massds/mayflower-assets/scss/01-atoms/button-tag */ import React from 'react'; export interface ButtonTagProps { /** The label text of the sort button */ type: string; /** The label text of the sort button */ value: string; /** The content of the button */ text: React.ReactNode; /** The visually hidden description of the button */ description?: React.ReactNode; /** An array of sort button objects */ handleClick(...args: unknown[]): unknown; } declare const ButtonTag: ({ type, value, text, description, handleClick }: ButtonTagProps) => any; export default ButtonTag;