@gravity-ui/uikit
Version:
Gravity UI base styling and components
12 lines (11 loc) • 411 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPolymorphicComponentProps = isPolymorphicComponentProps;
exports.isPolymorphicLinkProps = isPolymorphicLinkProps;
function isPolymorphicComponentProps(props) {
return props.component !== undefined;
}
function isPolymorphicLinkProps(props) {
return props.href !== undefined;
}
//# sourceMappingURL=polymorphic.js.map