This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/website/components/FunctionPage/FunctionTabs.jsx
2020-12-28 13:07:21 +01:00

17 lines
351 B
JavaScript

import SwipeableViews from 'react-swipeable-views'
const FunctionTabs = props => {
return (
<div className='container-fluid'>
<SwipeableViews
onChangeIndex={index => props.setSlideIndex(index)}
index={props.slideIndex}
>
{props.children}
</SwipeableViews>
</div>
)
}
export default FunctionTabs