@dotconnor/grommet
Version:
focus on the essential experience
39 lines (35 loc) • 726 B
TypeScript
import * as React from 'react';
import {
A11yTitleType,
AlignSelfType,
ColorType,
GridAreaType,
MarginType,
Omit,
PolymorphicType,
} from '../../utils';
export interface AnchorProps {
a11yTitle?: A11yTitleType;
alignSelf?: AlignSelfType;
as?: PolymorphicType;
color?: ColorType;
disabled?: boolean;
gridArea?: GridAreaType;
href?: string;
icon?: JSX.Element;
label?: React.ReactNode;
margin?: MarginType;
reverse?: boolean;
size?:
| 'xsmall'
| 'small'
| 'medium'
| 'large'
| 'xlarge'
| 'xxlarge'
| string;
weight?: 'normal' | 'bold' | number;
}
declare const Anchor: React.FC<AnchorProps &
Omit<JSX.IntrinsicElements['a'], 'color'>>;
export { Anchor };