1
0
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:
Phuoc Nguyen
2019-11-17 20:26:14 +07:00
parent 8e72a7cd66
commit fc97d9f337

View File

@@ -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` }}
/> />
); );