/** * @license * * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { Component } from 'react'; export interface ComponentProps { /** * `true` if the button should have input focus when the page loads. */ autofocus?: boolean; /** * `true` if the button should be disabled. */ /** * `true` if the button should be disabled. */ disabled?: boolean; /** * The default file name, used if this button is rendered as ``. */ /** * The default file name, used if this button is rendered as ``. */ download?: string; /** * Link `href`. If present, this button is rendered as ``. */ /** * Link `href`. If present, this button is rendered as ``. */ href?: string; /** * The language of what `href` points to, if this button is rendered as ``. */ /** * The language of what `href` points to, if this button is rendered as ``. */ hreflang?: string; /** * Button icon layout. */ /** * Button icon layout. */ iconLayout?: string; /** * `true` if expressive theme enabled. */ /** * `true` if expressive theme enabled. */ isExpressive?: boolean; /** * Button kind. */ /** * Button kind. */ kind?: string; /** * The a11y role for ``. */ /** * The a11y role for ``. */ linkRole?: string; /** * URLs to ping, if this button is rendered as ``. */ /** * URLs to ping, if this button is rendered as ``. */ ping?: string; /** * The link type, if this button is rendered as ``. */ /** * The link type, if this button is rendered as ``. */ rel?: string; /** * Button size. */ /** * Button size. */ size?: string; /** * The link target, if this button is rendered as ``. */ /** * The link target, if this button is rendered as ``. */ target?: string; /** * The default behavior if the button is rendered as `