@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
17 lines (16 loc) • 513 B
TypeScript
import * as React from 'react';
export interface BaseProps {
/** ID for the link */
id?: string;
/** The url to link to */
url?: string;
/** The content to display inside link */
children?: React.ReactNode;
/** Use for a links that open a different site */
external?: boolean;
/** Callback when a link is clicked */
onClick?(): void;
}
export interface Props extends BaseProps {
}
export default function Link({ url, children, onClick, external, id }: Props): JSX.Element;