mic-inspector
Version:
A react inspector which a most similar of Chorme DevTools inspector
25 lines (24 loc) • 998 B
JavaScript
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
import React from 'react';
import { InlineComponent } from 'mic-global';
import { useStyles } from './use-styles';
/**
* Property value
* @param param0 PropertyValueProps
*/
export function PropertyValue(_a) {
var { className, value } = _a, props = __rest(_a, ["className", "value"]);
// do nothing, only for ignore the tslint rule - 'value' is defined but never used
void value;
return (React.createElement(InlineComponent, Object.assign({ className: useStyles(className) }, props)));
}