@apexcura/ui-builder
Version:
A low-code UI builder library for dynamic form generation and reusable components built with React, Redux, Tailwind, and Ant Design.
15 lines (14 loc) • 708 B
TypeScript
import { ACTransformerNode, SchemaField } from '../Types/components';
export declare const Helper: {
getNestedValue: (obj: any, path: string) => any;
stringToColour: (str?: string) => string;
initials: (text: any) => any;
processLabel: (elementProps: SchemaField, context: any) => string | React.ReactNode;
executeHandlers: (handlers: any[], event: any, rootState: any, context: any, value?: any) => Promise<void>;
getProcessedLabel: (elementProps: SchemaField, context: any) => string | React.ReactNode;
getTransformedLabel: ({ transformer, value, defaultLabel, }?: {
transformer?: ACTransformerNode;
value?: any;
defaultLabel?: string;
}) => any;
};