summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/app/sidebars/topology/rack/BackToRoomComponent.js
blob: f6a6f79b35efab09a098622f45aa43504b835563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>
)

export default BackToRoomComponent