bs-spectacle
Version:
Spectacle bindings for Bucklescript
26 lines (22 loc) • 930 B
JavaScript
// Generated by BUCKLESCRIPT VERSION 2.2.2, PLEASE EDIT WITH CARE
;
var Spectacle = require("spectacle");
var ReasonReact = require("reason-react/src/ReasonReact.js");
var BaseProps$BsSpectacle = require("../BaseProps.js");
function make(italic, bold, caps, margin, padding, textColor, textSize, textAlign, textFont, bgColor, bgImage, bgSize, bgPosition, bgRepeat, bgDarken, overflow, height, src, alt, display, width, children) {
var tmp = {
src: src
};
if (alt) {
tmp.alt = alt[0];
}
if (display) {
tmp.display = display[0];
}
if (width) {
tmp.width = width[0];
}
return ReasonReact.wrapJsForReason(Spectacle.Image, BaseProps$BsSpectacle.extendProps(italic, bold, caps, margin, padding, textColor, textSize, textAlign, textFont, bgColor, bgImage, bgSize, bgPosition, bgRepeat, bgDarken, overflow, height, tmp), children);
}
exports.make = make;
/* spectacle Not a pure module */