@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
18 lines • 695 B
TypeScript
import * as React from 'react';
import { BaseUIComponentProps } from "../../utils/types.js";
import type { ToolbarRoot } from "../root/ToolbarRoot.js";
/**
* A link component.
* Renders an `<a>` element.
*
* Documentation: [Base UI Toolbar](https://base-ui.com/react/components/toolbar)
*/
export declare const ToolbarLink: React.ForwardRefExoticComponent<ToolbarLinkProps & React.RefAttributes<HTMLAnchorElement>>;
export interface ToolbarLinkState {
orientation: ToolbarRoot.Orientation;
}
export interface ToolbarLinkProps extends BaseUIComponentProps<'a', ToolbarLink.State> {}
export declare namespace ToolbarLink {
type State = ToolbarLinkState;
type Props = ToolbarLinkProps;
}