UNPKG

grommet

Version:

focus on the essential experience

21 lines (17 loc) 1.13 kB
import * as React from "react"; export interface AnchorProps { a11yTitle?: string; alignSelf?: "start" | "center" | "end" | "stretch"; gridArea?: string; margin?: "none" | "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | {bottom?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,horizontal?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,left?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,right?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,top?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,vertical?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string} | string; color?: string | {dark?: string,light?: string}; href?: string; icon?: JSX.Element; label?: React.ReactNode; onClick?: ((...args: any[]) => any); reverse?: boolean; size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge" | string; as?: string; } declare const Anchor: React.ComponentClass<AnchorProps & JSX.IntrinsicElements['a']>; export { Anchor };