diff --git a/dist/Button/Button.d.ts b/dist/Button/Button.d.ts index 13e3b50..2b0e349 100644 --- a/dist/Button/Button.d.ts +++ b/dist/Button/Button.d.ts @@ -15,7 +15,7 @@ declare const ButtonLabel: { /** * Visual variations of the button. */ - variant?: "primary" | "secondary" | "warning" | undefined; + variant?: Variant | undefined; }): JSX.Element; defaultProps: { inline: boolean; @@ -70,14 +70,14 @@ declare const Button: (props: { * Function to run when the button is engaged. Forwarded to the button * element. */ - onClick?: ((event: React.UIEvent) => void) | undefined; + onClick?: React.UIEventHandler | undefined; /** * The WAI-ARIA element role. It is always preferable to use the * approporiate HTML element over the role attribute, e.g. * `` is preferred to `