import { SpaceProps } from 'styled-system'; import { ColorProps } from '../utils/color-props'; /** * Prop Types of a Link component. * Apart from those explicitly specified below it extends all {@link ColorProps}, * and {@link SpaceProps} * * @memberof Link * @alias LinkProps * @property {string} [...] All props default to _a_ html component like `href`, * `onClick` etc. * @property {string} [...] Other props from {@link ColorProps} and {@link SpaceProps} */ export declare type LinkProps = ColorProps & SpaceProps & { /** Defines if link should be uppercase */ uppercase?: boolean; /** Color variant */ variant?: 'primary' | 'danger' | 'success' | 'info' | 'secondary'; /** Size variant */ size?: 'sm' | 'lg'; }; /** * @classdesc * * * * Styled form of Link element. * * ### Usage * * ```javascript * import { Link, LinkProps } from '@admin-bro/design-system' * ``` * * @component * @subcategory Atoms * @see LinkProps * @see {@link https://storybook.adminbro.com/?path=/story/designsystem-atoms-link--default Storybook} * @hideconstructor * @example All color variants * const variants = ['primary', 'danger', 'success', 'info', 'secondary'] * return ( * * {variants.map(variant => ( * {variant} * ))} * * ) * @example With icons * return ( * * * * With an icon * * * ) * @section design-system */ declare const Link: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, LinkProps, never>; export { Link }; export default Link;