/** * patternId: "button" templateId: "react" * This file was automatically generated by Knapsack. * DO NOT MODIFY IT BY HAND. * Instead, adjust it's spec, by either: * 1) go to "/patterns/button/react" and use the UI to edit the spec * 2) OR edit the "knapsack.pattern.button.json" file's "spec.props". * Run Knapsack again to regenerate this file. */ import * as React from 'react'; /** * [Knapsack Docs](http://localhost:3999/pattern/button/react) */ export interface ButtonProps { buttonType?: 'primary' | 'secondary' | 'iconOnly'; size?: 's' | 'm' | 'l'; arrow?: 'right' | 'left'; /** * `() => void` */ handleTrigger?: () => void; isDisabled?: boolean; children?: React.ReactNode; }