@pilotlab/lux-attributes
Version:
A luxurious user experience framework, developed by your friends at Pilot.
13 lines (12 loc) • 454 B
TypeScript
import { INodeCreateOptions } from '@pilotlab/lux-nodes';
import { DataType } from '../attributeEnums';
import IAttributeChangeOptions from './iAttributeChangeOptions';
export interface IAttributeCreateOptions extends INodeCreateOptions {
value: any;
dataType: DataType;
label: string;
validate: (value: any) => any;
omit: (value: any) => boolean;
changeOptions: IAttributeChangeOptions;
}
export default IAttributeCreateOptions;