fleet/frontend/components/TabsWrapper/TabsWrapper.tsx
Martavis Parker 5be54a72cf
Teams and Software for Homepage (#2567)
* added global teams dropdown

* added teams dropdown

* created tabs wrapper component

* comment out software table for now

* lint fixes

* added changes file

* removed test data

* fixed permissions

* fixed scroll behavior for test with sticky header

* lint fixes
2021-10-19 11:13:18 -07:00

18 lines
409 B
TypeScript

import React from "react";
interface ITabsWrapperProps {
children: React.ReactChild | React.ReactChild[];
}
/*
* This component exists so we can unify the styles
* and overwrite the loaded React Tabs styles.
*/
const baseClass = "component__tabs-wrapper";
const TabsWrapper = ({ children }: ITabsWrapperProps) => {
return <div className={baseClass}>{children}</div>;
};
export default TabsWrapper;