frontend: initial commit
This commit is contained in:
parent
8d70acc5d2
commit
1ad243f043
21 changed files with 30437 additions and 0 deletions
26
frontend/src/comp/Bar.js
Normal file
26
frontend/src/comp/Bar.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import React from 'react'
|
||||
import { Flex, Box } from '@chakra-ui/core'
|
||||
|
||||
export default function Bar (props) {
|
||||
return (
|
||||
<Flex
|
||||
borderBottom='barSeperator'
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export function Element (props) {
|
||||
return (
|
||||
<Box
|
||||
px={2}
|
||||
py={1}
|
||||
borderRight='barSeperator'
|
||||
fontFamily='mono'
|
||||
color='textBar'
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
Bar.Element = Element
|
||||
Loading…
Add table
Add a link
Reference in a new issue