design-react-kit
Version:
Componenti React per Bootstrap 5
18 lines (17 loc) • 465 B
TypeScript
import React, { ReactNode } from 'react';
export interface GoBackProps {
/**
* Optional classnames to pass to the element
*/
className?: string;
/**
* Render the link variant of the go back button
*/
link?: boolean;
/**
* Render the up variant of the go back button
*/
up?: boolean;
children?: ReactNode;
}
export declare const GoBack: ({ className, link, up, children }: GoBackProps) => React.JSX.Element;