mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-18 20:01:26 +02:00
Add border radius to Rectangle
This commit is contained in:
@@ -3,7 +3,7 @@ import React from 'react';
|
|||||||
const Rectangle = ({ height = 8 }) => {
|
const Rectangle = ({ height = 8 }) => {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="w-100 bg-black-30"
|
className="w-100 bg-black-30 br1"
|
||||||
style={{ height: `${height}px` }}
|
style={{ height: `${height}px` }}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user