source: node_modules/recharts/lib/util/getClassNameFromUnknown.js@ a762898

Last change on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 310 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.getClassNameFromUnknown = getClassNameFromUnknown;
7function getClassNameFromUnknown(u) {
8 if (u && typeof u === 'object' && 'className' in u && typeof u.className === 'string') {
9 return u.className;
10 }
11 return '';
12}
Note: See TracBrowser for help on using the repository browser.