How is it possible to add a hardcode option in NavTabs?
const logOption = { key: '0', value: 'All Logs' };
Code snippet: (code is not properly executed in code sandbox)
https://codesandbox.io/s/dazzling-wildflower-7q9w6b?file=/src/App.js
How can I implement this logic using JavaScript?
So here is the result I want to get:
how to make the hardcode option in NavTabs the right way?
What should I change in my code? Can anyone help me? Thanks