mancala/src/components/Row.tsx
2022-07-15 17:45:03 +03:00

20 lines
470 B
TypeScript

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;