parent
d79d7d85d5
commit
85a31d9379
@ -0,0 +1,10 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import styles from './Stripe.module.css'
|
||||||
|
|
||||||
|
const Stripe = (props) => {
|
||||||
|
return (
|
||||||
|
<div className={styles.container} style={{ backgroundColor: `${props.bgColor}` }}>{props.color}</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Stripe
|
@ -0,0 +1,12 @@
|
|||||||
|
.container {
|
||||||
|
width: 100vw;
|
||||||
|
height: 15vh;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
Loading…
Reference in new issue