@wassimbenzarti/react-components
Install
npm install --save @wassimbenzarti/react-components
Usage
Flex
import React, { Component } from 'react'
import {Flex} from '@wassimbenzarti/react-components'
class Example extends Component {
render () {
return (
<Flex style={{height:"100vh"}}>
<h1>Hello world</h1>
<img alt="cat" width="100" src="https://cdn.pixabay.com/photo/2019/07/19/09/41/cat-4348355_960_720.jpg"/>
</Flex>
)
}
}
License
MIT © WassimBenzarti