Finish support for creating databases in the UI
This commit is contained in:
parent
61dc86421d
commit
1f763dc155
7 changed files with 136 additions and 12 deletions
|
@ -4,10 +4,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|||
import { faDatabase } from '@fortawesome/free-solid-svg-icons/faDatabase';
|
||||
import { faTrashAlt } from '@fortawesome/free-solid-svg-icons/faTrashAlt';
|
||||
import { faEye } from '@fortawesome/free-solid-svg-icons/faEye';
|
||||
import classNames from 'classnames';
|
||||
|
||||
export default ({ database }: { database: ServerDatabase }) => {
|
||||
export default ({ database, className }: { database: ServerDatabase; className?: string }) => {
|
||||
return (
|
||||
<div className={'grey-row-box no-hover'}>
|
||||
<div className={classNames('grey-row-box no-hover', className)}>
|
||||
<div className={'icon'}>
|
||||
<FontAwesomeIcon icon={faDatabase}/>
|
||||
</div>
|
||||
|
|
Reference in a new issue