Skip to main content
Version: 2.0.0

Function: getIconForProperty

getIconForProperty(property, color?, fontSize?): React.ReactNode

Parameters

NameTypeDefault value
propertyResolvedProperty | PropertyOrBuilderundefined
color"error" | "disabled" | "action" | "inherit" | "primary" | "secondary""inherit"
fontSizeundefined | "small" | "inherit" | "medium" | "large""inherit"

Returns

React.ReactNode

Defined in

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

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!