Repository URL to install this package:
|
Version:
3.0.6-working.1 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const styleh_components_1 = require("styleh-components");
const iconColor = props => {
const pointer = props.isInteractive ? props.isDisabled ? 'no-drop' : 'pointer' : 'default';
return props.isDisabled ? styleh_components_1.styled.css`cursor:${pointer};fill:#b1b1b1;` : props.isSelected ? styleh_components_1.styled.css`cursor:${pointer};fill:#006caf;` : styleh_components_1.styled.css`cursor:${pointer};fill:#292929;`;
};
const Wrapper = styleh_components_1.styled.i`width:24px;height:24px;display:inline-block;${props => iconColor(props)};`;
exports.Wrapper = Wrapper;
exports.default = Wrapper; //# sourceMappingURL=styled.js.map