UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

18 lines (17 loc) 557 B
import * as React from 'react'; import { Link } from './Link'; export interface ILink { /** Sets focus to the link. */ focus(): void; } export interface ILinkProps extends React.HTMLAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLElement | Link> { /** * Optional callback to access the ILink interface. Use this instead of ref for accessing * the public methods and properties of the component. */ componentRef?: (component: ILink) => void; /** * Whether the link is disabled */ disabled?: boolean; }