@pega/custom-dx-components
Version:
Utility for building custom UI components
31 lines (27 loc) • 611 B
text/typescript
export const configProps = {
value: '',
label: 'TextInput Sample',
placeholder: 'TextInput Placeholder',
helperText: 'TextInput Helper Text',
testId: 'TextInput-12345678',
hasSuggestions: false,
displayMode: '',
variant: '',
hideLabel: false,
readOnly: false,
required: false,
disabled: false,
status: '',
validatemessage: ''
};
export const stateProps = {
value: '.TextInputSample',
hasSuggestions: false
};
export const fieldMetadata = {
classID: 'DIXL-MediaCo-Work-NewService',
type: 'Text',
maxLength: 256,
displayAs: 'pxTextInput',
label: 'TextInput Sample'
};