mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-15 02:24:27 +02:00
Rename to typescript extension
This commit is contained in:
12
client/placeholders/Rectangle.tsx
Normal file
12
client/placeholders/Rectangle.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
|
||||
const Rectangle = ({ height = 8 }) => {
|
||||
return (
|
||||
<div
|
||||
className="w-100 bg-black-30 br1"
|
||||
style={{ height: `${height}px` }}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default Rectangle;
|
Reference in New Issue
Block a user