UNPKG

@syncfusion/react-navigations

Version:

Syncfusion React Navigations with Toolbar and Context Menu for seamless page navigation

24 lines (23 loc) 750 B
import { HTMLAttributes, ForwardRefExoticComponent, RefAttributes } from 'react'; export interface IToolbarItem { /** * Toolbar item element. * * @default null */ element?: HTMLElement | null; } type IToolbarItemProps = IToolbarItem & HTMLAttributes<HTMLDivElement>; /** * The ToolbarItem component allows for the rendering of individual items within a Toolbar. * * ```typescript * <Toolbar> * <ToolbarItem id='saveButton' className='action-button' style={{ backgroundColor: '#f0f0f0' }}> * <button type="button">Save</button> * </ToolbarItem> * </Toolbar> * ``` */ export declare const ToolbarItem: ForwardRefExoticComponent<IToolbarItemProps & RefAttributes<IToolbarItem>>; export default ToolbarItem;