@upendradevsingh/webcore
Version:
UI Core Components for web
18 lines (16 loc) • 417 B
JavaScript
import React, {Component} from 'react';
import settings from './settings';
import Carousel from './Carousel';
export default class SimpleCarousel extends Component {
render() {
const options = {
...settings.simple,
...this.props
};
return (
<Carousel settings={options}>
{this.props.children}
</Carousel>
);
}
}