lbry-desktop/src/renderer/component/common/busy-indicator.jsx

15 lines
262 B
React
Raw Normal View History

2018-03-26 23:32:43 +02:00
// @flow
import React from 'react';
type Props = {
message: ?string,
};
2018-04-18 06:03:01 +02:00
const BusyIndicator = (props: Props) => (
<span className="busy-indicator">
{props.message} <span className="busy-indicator__loader" />
</span>
);
2018-03-26 23:32:43 +02:00
export default BusyIndicator;