UNPKG

@hackplan/polaris

Version:

Shopify’s product component library

16 lines (15 loc) 657 B
import React from 'react'; export interface Props extends React.HTMLProps<HTMLAnchorElement> { /** A destination to link to */ url: string; /** Forces url to open in a new tab */ external?: boolean; /** Tells the browser to download the url instead of opening it. Provides a hint for the downloaded filename if it is a string value. */ download?: string | boolean; /** Content to display inside the link */ children?: React.ReactNode; [key: string]: any; } export declare type LinkLikeComponent = React.ComponentType<Props> | undefined; declare const _default: React.NamedExoticComponent<Props>; export default _default;