blob: e0eb59790320ceec57713227b10ae4287ad14e61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import PropTypes from 'prop-types'
import React from 'react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faAngleLeft } from '@fortawesome/free-solid-svg-icons'
import { Button } from 'reactstrap'
const BackToRoomComponent = ({ onClick }) => (
<Button color="secondary" block className="mb-2" onClick={onClick}>
<FontAwesomeIcon icon={faAngleLeft} className="mr-2" />
Back to room
</Button>
)
BackToRoomComponent.propTypes = {
onClick: PropTypes.func,
}
export default BackToRoomComponent
|