refactor(web): remove typescript
This commit is contained in:
9
packages/web/src/components/TabPanel/index.jsx
Normal file
9
packages/web/src/components/TabPanel/index.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as React from 'react';
|
||||
export default function TabPanel(props) {
|
||||
const { children, value, index, ...other } = props;
|
||||
return (
|
||||
<div role="tabpanel" hidden={value !== index} {...other}>
|
||||
{value === index && children}
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user