diff --git a/src/hooks/useComponentDoc.js b/src/hooks/useComponentDoc.js index 393d8ab55..f7590dc1b 100644 --- a/src/hooks/useComponentDoc.js +++ b/src/hooks/useComponentDoc.js @@ -24,6 +24,7 @@ const extractPropTypes = (component) => { return { name, description: propDocs.text, + deprecation: propDocs.tags.deprecated?.[0] ?? null, isRequired: propMeta.some((item) => item.name === 'isRequired'), type: { meta: type,