UNPKG

494 BJavaScriptView Raw
1import React from 'react';
2export default function JSONArrow({ styling, arrowStyle = 'single', expanded, nodeType, onClick, }) {
3 return (React.createElement("div", { ...styling('arrowContainer', arrowStyle), onClick: onClick },
4 React.createElement("div", { ...styling(['arrow', 'arrowSign'], nodeType, expanded, arrowStyle) },
5 '\u25B6',
6 arrowStyle === 'double' && (React.createElement("div", { ...styling(['arrowSign', 'arrowSignInner']) }, '\u25B6')))));
7}