@itwin/itwinui-react
Version:
A react component library for iTwinUI
25 lines (24 loc) • 720 B
TypeScript
import type { PolymorphicForwardRefComponent } from '../../utils/props.js';
/**
* Polymorphic link action component.
* It is rendered as `a` by default.
* @example
* <LinkBox>
* <Surface>
* <LinkAction href='/new-page'>Whole card is clickable</LinkAction>
* </Surface>
* </LinkBox>
*/
export declare const LinkAction: PolymorphicForwardRefComponent<"a">;
/**
* Polymorphic link box component.
* Used to wrap around your component to use LinkAction.
* Rendered as `div` by default
* @example
* <LinkBox>
* <Surface>
* <LinkAction href='/new-page'>Whole card is clickable</LinkAction>
* </Surface>
* </LinkBox>
*/
export declare const LinkBox: PolymorphicForwardRefComponent<"div", {}>;