You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
684 B
25 lines
684 B
import React, { FC, useEffect } from 'react'
|
|
import { Link } from 'react-router-dom'
|
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
|
import { faPlusCircle } from '@fortawesome/free-solid-svg-icons'
|
|
|
|
import { setTitle } from '../utils'
|
|
|
|
const UserApps: FC = () => {
|
|
useEffect(() => {
|
|
setTitle('Your Apps')
|
|
}, [])
|
|
|
|
return (
|
|
<div>
|
|
<Link className="button is-primary" to="/apps/new">
|
|
<span className="icon is-small">
|
|
<FontAwesomeIcon icon={faPlusCircle} />
|
|
</span>
|
|
<span>Create a new App</span>
|
|
</Link>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default UserApps
|