PR-500824updating packages.

This commit is contained in:
2025-08-10 05:22:04 +00:00
parent e1617cde03
commit 9210349485
6 changed files with 892 additions and 697 deletions

View File

@@ -6,5 +6,24 @@ export const parameters = {
date: /Date$/,
},
},
docs: {
extractArgTypes: (component) => {
// Filter out Symbol values to prevent serialization errors
const argTypes = {};
if (component && component.propTypes) {
Object.keys(component.propTypes).forEach(key => {
const propType = component.propTypes[key];
// Only include non-Symbol values
if (typeof propType !== 'symbol') {
argTypes[key] = propType;
}
});
}
return argTypes;
},
source: {
excludeDecorators: true,
},
},
}
export const tags = ["autodocs"];
export const tags = ["autodocs"];