UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

14 lines (13 loc) 482 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`) * * @see https://bifrost.intility.com/react/backButton */ declare const BackButton: import("react").ForwardRefExoticComponent<BackButtonProps & import("react").RefAttributes<HTMLButtonElement>>; export default BackButton;