API Reference > ui-framework > Utilities > PropsHelper PropsHelper Class A set of helper methods for various props Methods Name Description getIcon(iconSpec: string | React.ReactNode): Element | undefined Static Get JSX element that defines an icon. getStringFromSpec(spec: string | StringGetter): string Static Get the display string. getStringSpec(explicitValue: string | StringGetter | undefined, stringKey?: string): string | StringGetter Static Get spec for returning a string. isShallowEqual(newObj: any, prevObj: any): boolean Static returns true if the two objects are the same using a shallow compare of each property Defined in ui/framework/src/ui-framework/utils/PropsHelper.tsx Line 18 Last Updated: 13 June, 2024