Skip to main content
Version: 2.0.0

Function: getBadgeForWidget

getBadgeForWidget(widget, color?): React.ReactNode

Parameters

NameTypeDefault value
widgetundefined | FieldConfigundefined
color"error" | "disabled" | "action" | "inherit" | "primary" | "secondary""inherit"

Returns

React.ReactNode

Defined in

lib/src/core/util/property_utils.tsx:61

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!