primevue-mirror/apps/showcase/api-generator/components/inputtext.js

47 lines
1.2 KiB
JavaScript
Raw Normal View History

const InputTextProps = [
{
2022-09-14 14:26:41 +00:00
name: 'modelValue',
type: 'any',
default: 'null',
description: 'Value of the component.'
2023-05-05 12:53:35 +00:00
},
2023-07-04 09:28:31 +00:00
{
name: 'size',
type: 'string',
default: 'null',
description: 'Defines the size of the component, valid values are "small" and "large".'
},
2024-01-31 08:01:02 +00:00
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
2024-02-02 13:26:27 +00:00
default: 'null',
2024-01-31 08:01:02 +00:00
description: 'Specifies the input variant of the component.'
},
2023-05-05 12:53:35 +00:00
{
name: 'pt',
type: 'any',
default: 'null',
2023-08-01 14:01:12 +00:00
description: 'Used to pass attributes to DOM elements inside the component.'
2023-07-06 13:20:37 +00:00
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
module.exports = {
inputtext: {
2022-09-14 14:26:41 +00:00
name: 'InputText',
description: 'InputText renders a text field to enter data.',
props: InputTextProps
}
};