fleet/frontend/components/TabsWrapper/TabsWrapper.tsx
2022-03-10 10:10:44 -05:00

18 lines
422 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): JSX.Element => {
return <div className={baseClass}>{children}</div>;
};
export default TabsWrapper;