UNPKG

carbon-custom-elements

Version:

A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.

59 lines (49 loc) 1.19 kB
/** * @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'; interface ComponentProps { /** * `true` if the button should be disabled. */ disabled?: boolean; /** * The default file name, used if this button is rendered as `<a>`. */ download?: string; /** * Link `href`. If present, this button is rendered as `<a>`. */ href?: string; /** * The language of what `href` points to, if this button is rendered as `<a>`. */ hreflang?: string; /** * URLs to ping, if this button is rendered as `<a>`. */ ping?: string; /** * The link type, if this button is rendered as `<a>`. */ rel?: string; /** * The link target, if this button is rendered as `<a>`. */ target?: string; /** * The default behavior if the button is rendered as `<button>`. MIME type of the `target`if this button is rendered as `<a>`. */ type?: string; } /** * Link. * @element bx-link */ declare class BXLink extends Component<ComponentProps> {} export default BXLink;