import { default as React } from 'react'; import { IntentionalAny } from '../../types'; import { ButtonContentProps } from '../button-content/button-content'; export type InternalAnchorProps = { /** * If true, the icon will be placed in a separate column */ iconStandalone?: boolean; }; type AllowedTags = 'a' | React.ComponentType; export type AnchorProps = ButtonContentProps; export type AnchorComponent = (props: AnchorProps) => React.ReactElement | null; /** * Anchor component that should be always used when href is passed and a element should be rendered. If u need to use visually button, but still redirect as link use `visualType` prop.
* __NB! U can not use disabled button visuals with anchor.__ * * By default, the navigation is performed with a native `` element. You can customize it to use your own router. For instance, using Next.js's Link or react-router.
* Inherits all props from the component passed into `as`. If `as` is omitted, then the default is native `
` tag * * To allow Customized Anchor usage as direct children of Header you need to add displayName to it. See more. */ export declare const Anchor: AnchorComponent; export default Anchor;