UNPKG

@totalsoft/rocket-ui

Version:

A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.

19 lines (18 loc) 554 B
import { NavigateOptions } from 'react-router'; import { IconButtonProps } from '../IconButton/types'; export interface BackToButtonProps extends Omit<IconButtonProps, 'type'> { /** * Path where browser will be directed to when the button is clicked. */ path: string | number; /** * Navigation options. * flushSync?: boolean; * preventScrollReset?: boolean; * relative?: RelativeRoutingType; * replace?: boolean; * state?: any; * viewTransition?: boolean; */ options?: NavigateOptions; }