@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
20 lines (19 loc) • 584 B
TypeScript
export interface ArrowButtonProps {
/** Custom click handler function. */
onClick?(...args: unknown[]): unknown;
/** When populated with a url, this component renders a `<a>` vs a `<button>` */
href?: string;
/** The text which renders in the standard browser tooltip on hover */
info?: string;
/** Direction of the arrow. */
direction?: "left" | "right";
}
declare const ArrowButton: {
(props: ArrowButtonProps): any;
defaultProps: {
href: string;
info: string;
direction: string;
};
};
export default ArrowButton;