react-link-group
Version:
A ReactJS component for rendering a grouping of clickable links. Clicking a link executes a callback function, passing it the id of the selected link
25 lines (23 loc) • 365 B
JavaScript
const LINKS_CONFIG = [
{
id: null,
displayName: 'All',
value: 22,
},
{
id: 'services',
displayName: 'Services',
value: 7,
},
{
id: 'operations',
displayName: 'Operations',
value: 5,
},
{
id: 'resources',
displayName: 'Resources',
value: 10,
},
];
export default LINKS_CONFIG;