UNPKG

@combine-labs/combine-polaris

Version:

Combine Lab's product component library. Forked from Shopify's Polaris.

20 lines (19 loc) 860 B
import * as React from 'react'; import { ReactComponent } from '@shopify/react-utilities/types'; import { WithAppProviderProps } from '../AppProvider'; export interface Props extends React.HTMLProps<HTMLAnchorElement> { /** A destination to link to */ url: string; /** Forces url to open in a new tab */ external?: boolean; /** Content to display inside the link */ children?: React.ReactNode; [key: string]: any; } export declare type LinkLikeComponent = ReactComponent<Props> | undefined; export declare type CombinedProps = Props & WithAppProviderProps; export declare class UnstyledLink extends React.PureComponent<CombinedProps, never> { render(): JSX.Element; } declare const _default: (React.ComponentClass<Props> & typeof UnstyledLink) | (React.StatelessComponent<Props> & typeof UnstyledLink); export default _default;