New-udcard -toolbar

does anyone have a working example of new-udcard with a toolbar? I’m not sure of the format of the toolbar and when I try and add a button I get a react error.