createStatusBarItem MethodStatic

Deprecated  in 3.6 Use StatusBarItemUtilities.createCustomItem instead.

Creates a StatusBar item

createStatusBarItem(id: string, section: StatusBarSection, itemPriority: number, reactNode: ReactNode, itemProps?: Partial<StatusBarItem>): StatusBarItem

Parameter Type Description
id string  
section StatusBarSection  
itemPriority number  
reactNode ReactNode  
itemProps Partial<StatusBarItem>  

Returns - StatusBarItem

Defined in

Last Updated: 30 November, 2023