Repository URL to install this package:
|
Version:
1.0.1 ▾
|
"use strict";
var __importDefault = this && this.__importDefault || function (mod) {
return mod && mod.__esModule ? mod : {
"default": mod
};
};
Object.defineProperty(exports, "__esModule", {
value: true
});
const react_1 = __importDefault(require("react"));
const SolidArrowIcon_1 = require("../../atoms/Icons/ArrowIcon/SolidArrowIcon");
const fixture_1 = require("./fixture");
const styled_1 = require("./styled");
/**
* @fixme @invalid @todo this belong in elemnts
*
* Updating the arrow icon
*/
const renderArrowIcon = () => react_1.default.createElement(SolidArrowIcon_1.SolidArrowIcon, {
type: "",
fill: "#ffffff"
});
class DarkSelectDropDown extends react_1.default.Component {
render() {
const {
className
} = this.props;
return react_1.default.createElement(styled_1.DarkSelectDropDownStyle, Object.assign({
className: className,
renderActiveAfterText: renderArrowIcon
}, this.props));
}
}
DarkSelectDropDown.defaultProps = {
className: '',
options: fixture_1.list
};
exports.DarkSelectDropDown = DarkSelectDropDown;
exports.default = DarkSelectDropDown; //# sourceMappingURL=DarkSelectDropDown.js.map