@arranjae/react-simple-carousel
Version:
Simple Carousel - React and TypeScript
9 lines • 470 B
JavaScript
import React from 'react';
export var CustomButton = function (props) {
if (!props.Elem)
return (React.createElement("button", { className: props.className, onClick: function (e) { return props.handleClick(e); } }, props.children));
var Btn = props.Elem;
return (React.createElement(Btn, { className: props.className, onClick: props.handleClick }, props.children));
};
export default { CustomButton: CustomButton };
//# sourceMappingURL=Common.js.map