mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-07 06:37:01 +02:00
Add helper placeholers
This commit is contained in:
9
client/placeholders/Dot.jsx
Normal file
9
client/placeholders/Dot.jsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
const Dot = () => {
|
||||||
|
return (
|
||||||
|
<div className="bg-black-30 br-pill w1 h1" />
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Dot;
|
17
client/placeholders/Frame.jsx
Normal file
17
client/placeholders/Frame.jsx
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
const Frame = ({ children }) => {
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
className="ba b--black-30 br2"
|
||||||
|
style={{
|
||||||
|
height: '100px',
|
||||||
|
width: '100px',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Frame;
|
12
client/placeholders/Line.jsx
Normal file
12
client/placeholders/Line.jsx
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
const Line = () => {
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
className="w-100 bg-black-30"
|
||||||
|
style={{ height: '1px' }}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Line;
|
Reference in New Issue
Block a user