@r1tsu/payload
Version:
14 lines • 650 B
TypeScript
import type React from 'react';
import type { CustomComponent, LabelFunction } from '../../config/types.js';
import type { Payload } from '../../index.js';
export type DescriptionFunction = LabelFunction;
export type DescriptionComponent = CustomComponent<FieldDescriptionProps>;
export type Description = DescriptionComponent | DescriptionFunction | Record<string, string> | string;
export type FieldDescriptionProps = {
CustomDescription?: React.ReactNode;
className?: string;
description?: Record<string, string> | string;
marginPlacement?: 'bottom' | 'top';
payload?: Payload;
};
//# sourceMappingURL=FieldDescription.d.ts.map