UNPKG

react-wired-elements

Version:

Wired Elements as React components. TypeScript types included.

33 lines (32 loc) 923 B
import * as React from 'react'; import { BaseProps } from './types'; export interface WiredLinkProps extends BaseProps { /** * Gives the button a sketchy height. * @default 1 */ elevation?: 1 | 2 | 3 | 4 | 5; /** * URL of the page to navigate to */ href?: string; /** * The native target attribute. "_blank" automatically applies "rel='noopener noreferrer'"" */ target?: '_blank' | '_self' | '_parent' | '_top' | 'framename'; /** * The color of the text. * @default "black" */ color?: string; /** * The color of the text underline. * @default "black" */ lineColor?: string; /** * The children. */ children?: React.ReactNode; } export declare const WiredLink: ({ elevation, href, target, color, lineColor, children, className, style, }: WiredLinkProps) => JSX.Element;