UNPKG

@pega/custom-dx-components

Version:

Utility for building custom UI components

34 lines (32 loc) 863 B
// Mock props satisfying CaseViewProps from @pega/cosmos-react-work const configProps = { caseId: 'C-1001', heading: 'My Caseview', subheading: 'Subheading for My Caseview', caseType: 'My Case Type', summaryFields: { primary: [ { name: 'Status', value: 'Open' }, { name: 'Urgency', value: '10' } ], secondary: [ { name: 'Created', value: '2024-01-01' }, { name: 'Owner', value: 'John Doe' } ] }, tabs: { items: [ { id: 'tab-details', name: 'Details' }, { id: 'tab-history', name: 'History' } ], onClick: () => {}, currentTabId: 'tab-details' }, tabContent: [ { id: 'tab-details', content: 'Details content goes here' }, { id: 'tab-history', content: 'History content goes here' } ], summaryExpanded: true, utilitiesExpanded: false }; export default configProps;