Repository URL to install this package:
Version:
0.9.6 ▾
|
ui-component-library
/
dist
/
components
/
molecules
/
SelectDropDown
/
ActiveOption
/
_renderProps.js
|
---|
"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 ArrowIcon_1 = __importDefault(require("icons/ArrowIcon"));
function defaultRenderActiveAfterText(props, state) {
// isAnimated <- has dom ref issues
return react_1.default.createElement(ArrowIcon_1.default, { up: state.isVisible, down: !state.isVisible });
}
exports.defaultRenderActiveAfterText = defaultRenderActiveAfterText;
function defaultRenderActiveBeforeText(props, state) {
return '';
}
exports.defaultRenderActiveBeforeText = defaultRenderActiveBeforeText;
//# sourceMappingURL=_renderProps.js.map