das-ui-shared
v0.2.2
Published
Shared UI components and functions among DAS ecosystems.
Downloads
9
Readme
DAS UI Shared
Shared UI components and functions among DAS ecosystems.
Install
npm install das-ui-shared --save
UI Components
You should import css file before using UI components.
import 'das-ui-shared/style.css'
DasAvatar
<template>
<DasAvatar account="dastodamoon.bit" :size="50" ></DasAvatar>
</template>
DasAccountCard
<template>
<DasAccountCard account="dastodamoon.bit" ></DasAccountCard>
</template>
functions
accountColor
import { accountColor } from 'das-ui-shared'
const { color, light } = accountColor('dastodamoon.bit')