-
-
Save Nilanth/5ed60b31397d81103e1252d71230d396 to your computer and use it in GitHub Desktop.
Dashboard Components without suspense
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Dashboard() { | |
return ( | |
<Tabs defaultActiveKey="1"> | |
<TabPane tab="Sales" key="1"> | |
<Sales/> | |
</TabPane> | |
<TabPane tab="Profit" key="2"> | |
<Profit/> | |
</TabPane> | |
<TabPane tab="Chart" key="3"> | |
<Chart/> | |
</TabPane> | |
<TabPane tab="Tiles" key="4"> | |
<Tiles/> | |
</TabPane> | |
<TabPane tab="Trends" key="5"> | |
<Trends/> | |
</TabPane> | |
</Tabs> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment