1.0.0 • Published 3 years ago

@cerberus-ds/user-account v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Cerberus => User Account

Installation

yarn add @cerberus-ds/user-account

# or

npm i @cerberus-ds/user-account

Importing Component

import {
  UserAccount
} from '@cerberus-ds/user-account'

Usage

<UserAccount
  email='akosipc@gmail.com'
  imgSrc=''
  username='akosipc'
/>

This component also takes ChakraUI's default props. You can easily change the component's background and sizing

<UserAccount
  bg='teal.300'
  padding='8px'

  email='akosipc@gmail.com'
  imgSrc='https://www.placecage.com/c/300/300'
  username='akosipc'
/>