Resource.WithIconName
Method
func (Resource) WithIconName( iconName string, options ...*WithIconNameOptions,) ResourceSignature
method
WithIconName builderSpecifies the icon to use when displaying the resource in the dashboard.
WithIconName( iconName string, options ...*WithIconNameOptions,) ResourceParameters
iconName stringThe name of the FluentUI icon to use. See https://aka.ms/fluentui-system-icons for available icons.options...*WithIconNameOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithIconNameOptions argument.
IconVariant *IconVariant The variant of the icon (Regular or Filled). Defaults to Filled.Returns
ResourceThe resource builder.
Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: