1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-01 20:32:37 +00:00
trezor-wallet/src/js/components/common/LoaderCircle.js
Szymon Lesisz cb83b2b7b6 bordel 2
2018-02-20 10:30:36 +01:00

22 lines
648 B
JavaScript

/* @flow */
'use strict';
import React from 'react';
export default (props: any): any => {
const style = {
width: `${props.size}px`,
height: `${props.size}px`,
}
return (
<div className="loader-circle" style={ style }>
<p>{ props.label }</p>
<svg className="circular" viewBox="25 25 50 50">
<circle className="route" cx="50" cy="50" r="20" fill="none" stroke="" strokeWidth="1" strokeMiterlimit="10" />
<circle className="path" cx="50" cy="50" r="20" fill="none" strokeWidth="1" strokeMiterlimit="10" />
</svg>
</div>
);
}