add more detail to changeset

Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
This commit is contained in:
nikolar
2024-12-03 11:03:01 -08:00
parent 1f40e6bf88
commit b6c017de5d
+32
View File
@@ -83,3 +83,35 @@ Add new Grid option called `InfoCardGrid` which is a more customizable card opti
```
Expose existing `CustomDocsPanel` so that it can be used independently if desired.
```tsx
const panels: PanelConfig[] = [
{
description: '',
filterPredicate: entity => {},
panelType: 'InfoCardGrid',
title: 'Standards',
panelProps: {
hideSupport: true,
linkContent: 'Read more',
linkDestination: entity => {},
},
},
{
description: '',
filterPredicate: entity => {},
panelType: 'DocsCardGrid',
title: 'Contribute',
},
];
{
panels.map((config, index) => (
<CustomDocsPanel
key={index}
config={config}
entities={!!entities ? entities : []}
index={index}
/>
));
}
```