UNPKG

@syncfusion/react-navigations

Version:

A package of Pure React navigation components such as Toolbar and Context-menu which is used to navigate from one page to another

25 lines (24 loc) 793 B
import { HTMLAttributes, ForwardRefExoticComponent, RefAttributes } from 'react'; export interface IToolbarSpacer { /** * Spacer element within the toolbar. * * @default null */ element?: HTMLElement | null; } type IToolbarSpacerProps = IToolbarSpacer & HTMLAttributes<HTMLDivElement>; /** * The ToolbarSpacer component is used to render an adjustable space within a Toolbar. * * ```typescript * <Toolbar> * <ToolbarItem><Button>New</Button></ToolbarItem> * <ToolbarItem><Button>Open</Button></ToolbarItem> * <ToolbarSpacer /> * <ToolbarItem><Button>Save</Button></ToolbarItem> * </Toolbar> * ``` */ export declare const ToolbarSpacer: ForwardRefExoticComponent<IToolbarSpacerProps & RefAttributes<IToolbarSpacer>>; export default ToolbarSpacer;