fixing some errors

master
Hamid 4 months ago
parent a40e5ff0f1
commit 6091957a2f
  1. 7
      src/App.css
  2. 10
      src/components/TabBar.tsx

@ -45,3 +45,10 @@
.read-the-docs { .read-the-docs {
color: #888; color: #888;
} }
#root {
width: 100vw; /* 100% of viewport width */
height: 100vh; /* 100% of viewport height */
padding: 0;
margin: 0;
}

@ -4,13 +4,11 @@ interface Props {
name: string; name: string;
} }
const TabBar: React.FC<Props> = ({ name }) => { const TabBar: React.FC<Props> = ({ }) => {
return( return(
<div role="tablist" className="tabs tabs-boxed"> <h1>hello</h1>
<a role="tab" className="tab">Tab 1</a>
<a role="tab" className="tab tab-active">Tab 2</a>
<a role="tab" className="tab">Tab 3</a>
</div>
); );
}; };

Loading…
Cancel
Save