add Row
This commit is contained in:
parent
a8e98995d9
commit
c38d8c60d5
20
src/components/Row.tsx
Normal file
20
src/components/Row.tsx
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
import * as React from 'react';
|
||||||
|
import { FunctionComponent } from 'react';
|
||||||
|
|
||||||
|
const Row: FunctionComponent = ({children}) => {
|
||||||
|
return (
|
||||||
|
<div className="row">
|
||||||
|
{children}
|
||||||
|
<style jsx>{`
|
||||||
|
.row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
`}</style>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Row;
|
||||||
Loading…
Reference in New Issue
Block a user