mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
PT Viewer implementation
This commit is contained in:
parent
0f9cd792c5
commit
c6dcd27527
2 changed files with 63 additions and 6 deletions
|
@ -19,12 +19,14 @@ export const getPTOptions = (name) => {
|
|||
objToReplace.type = prop.type;
|
||||
}
|
||||
|
||||
data.push({
|
||||
value: i + 1,
|
||||
label: prop.name,
|
||||
options: hasSubComp ? subOptions?.props : options?.props,
|
||||
description: prop.description
|
||||
});
|
||||
if (!prop.deprecated) {
|
||||
data.push({
|
||||
value: i + 1,
|
||||
label: prop.name,
|
||||
options: hasSubComp ? subOptions?.props : options?.props,
|
||||
description: prop.description
|
||||
});
|
||||
}
|
||||
} else {
|
||||
data.push({
|
||||
value: i + 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue