bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/reload-button/component.jsx

20 lines
346 B
React
Raw Normal View History

2021-08-06 04:03:43 +08:00
import React from 'react';
2021-10-26 22:48:18 +08:00
import Styled from './styles';
2021-08-06 04:03:43 +08:00
const ReloadButtonComponent = ({
handleReload,
label,
}) => (
2021-10-26 22:48:18 +08:00
<Styled.Wrapper>
<Styled.ReloadButton
2021-08-06 04:03:43 +08:00
color="primary"
icon="refresh"
2023-03-01 21:39:04 +08:00
onClick={handleReload}
2021-08-06 04:03:43 +08:00
label={label}
hideLabel
/>
2021-10-26 22:48:18 +08:00
</Styled.Wrapper>
2021-08-06 04:03:43 +08:00
);
export default ReloadButtonComponent;