import React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { IconName } from '../Icon'; export interface ToolbarItemProps { /** * Visual intent of the toolbar item. */ intent?: 'primary' | 'secondary' | 'info' | 'success' | 'danger' | 'warning'; /** * Icon of the toolbar item. */ icon?: IconName; /** * Action label of the toolbar item. */ label?: string; /** * Callback that trigger when user press the toolbar item. */ onPress?: () => void; /** * Whether the toolbar item is disabled. */ disabled?: boolean; /** * Addtitional style. */ style?: StyleProp; } declare const ToolbarItem: ({ icon, label, onPress, intent, disabled, style, }: ToolbarItemProps) => React.JSX.Element; export default ToolbarItem;