1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-22 10:16:08 +02:00
Files
csslayout/client/placeholders/Rectangle.tsx
2019-11-24 23:20:19 +07:00

17 lines
311 B
TypeScript

import React from 'react';
interface RectangleProps {
height?: number;
}
const Rectangle: React.FC<RectangleProps> = ({ height = 8 }) => {
return (
<div
className="w-100 bg-black-30 br1"
style={{ height: `${height}px` }}
/>
);
};
export default Rectangle;