Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
backgroundColor: 'transparent',
color: theme.palette.text.secondary,
fontFamily: theme.typography.fontFamily,
width: 300,
textAlign: 'center',
boxShadow: 'none'
}}
>
{__.formatTime(new Date((tooltipData || data[data.length - 1])[0] * 1000), hour ? 'DD. MMM YYYY HH:mm' : 'DD. MMM YYYY')}
)
}
}
const AreaTooltip = withParentSize(withTooltip(Area))
export {
setBxpTrigger,
unsetBxpTrigger,
TopBar,
TscListAddr,
TscListAddresses,
DepotEmpty,
SoonMsg,
PortfolioTab,
PaperGrid,
SubBar,
Jumbo,
BrowserGate,
BrowserGateSafarimobile,
NtAllwd,
value: PropTypes.number.isRequired
})).isRequired,
margin: PropTypes.shape({
bottom: PropTypes.number,
left: PropTypes.number,
right: PropTypes.number,
top: PropTypes.number
}),
parentHeight: PropTypes.number.isRequired,
parentWidth: PropTypes.number.isRequired,
theme: PropTypes.object,
xAxisLabel: PropTypes.string,
yAxisLabel: PropTypes.string
}
export default withTheme(withParentSize(BarChartViewer))
export { BarChartViewer }
global: {
colors: {},
font: {}
}
},
zooming: false
}
ScatterPlotViewer.propTypes = {
theme: PropTypes.object,
parentHeight: PropTypes.number.isRequired,
parentWidth: PropTypes.number.isRequired,
zooming: PropTypes.bool
}
export default withParentSize(withTheme(ScatterPlotViewer))
export { ScatterPlotViewer }
fontSize={11}
textAnchor="middle"
fontFamily="Roboto"
/>
}
/>
);
}
}
export default withParentSize(Chart);
fill={arc.data.color}
fontSize={theme.typography.caption.fontSize * 1.3}
>
●
{arc.data.label}
}}
/>
)
}
}
const Doughnut = withParentSize(DoughnutOrig)
const DepotDoughnut = ({
doughnutClassName,
doughnutData,
letters,
width,
height,
radius
}) =>
<div>
</div>
time={activeBucket.closeTime}
/>
<details>
}
);
}
}
export default withParentSize(withTooltip(Chart));
</details>
import { withParentSize } from '@vx/responsive';
const Logo = withParentSize(function({ parentWidth, parentHeight }) {
const margin = {
top: 5,
bottom: 5,
right: 22,
left: 22
};
const width = parentWidth - margin.left - margin.right;
const wCenter = parentWidth / 2;
const hCenter = parentHeight / 2;
const topCenter = hCenter - hCenter * 0.25;
const bottomCenter = hCenter + hCenter * 0.25;
return (
<svg height="{parentHeight}" width="{parentWidth}">
<g fill="#ff6f88">
</g></svg>