@bitcobblers/wod-wiki-library
Version:
A specialized markdown-like workout syntax editor and runtime for defining workouts
13 lines (12 loc) • 429 B
TypeScript
import { IRuntimeEvent } from './IRuntimeEvent';
export interface IActionButton {
label?: string;
icon?: React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGProps<SVGSVGElement>> & {
title?: string;
titleId?: string;
} & React.RefAttributes<SVGSVGElement>>;
event: string;
isActive?: boolean;
variant?: "primary" | "secondary" | "success";
onClick: () => IRuntimeEvent[];
}