source:
node_modules/recharts/es6/util/getClassNameFromUnknown.js@
ba17441
| Last change on this file since ba17441 was a762898, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 178 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | export function getClassNameFromUnknown(u) { |
| 2 | if (u && typeof u === 'object' && 'className' in u && typeof u.className === 'string') { | |
| 3 | return u.className; | |
| 4 | } | |
| 5 | return ''; | |
| 6 | } |
Note:
See TracBrowser
for help on using the repository browser.
