UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

11 lines (10 loc) 416 B
import type { PropsFor } from "../../types.js"; export type BackButtonProps = PropsFor<"button", { /** Text (default 'Back') */ text?: string; }>; /** * Display a breadcrumb link that triggers history.back (can be overridden with onClick) */ declare const BackButton: import("react").ForwardRefExoticComponent<BackButtonProps & import("react").RefAttributes<HTMLButtonElement>>; export default BackButton;