add space component
This commit is contained in:
parent
dc9b2ac04c
commit
a539feb798
10
src/components/Space.tsx
Normal file
10
src/components/Space.tsx
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import * as React from 'react';
|
||||||
|
import { FunctionComponent } from 'react';
|
||||||
|
|
||||||
|
const Space: FunctionComponent<{ width?: string, height?: string }> = ({ width, height }) => {
|
||||||
|
return (
|
||||||
|
<div style={{ width, height}}/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Space;
|
||||||
Loading…
Reference in New Issue
Block a user