@gitkraken/shared-web-components
v0.1.11
Published
Shared components for GitKraken products
Readme
GitKraken Shared Web Component Library
A space for front-end components that can be shared across the GitKraken ecosystem.
Installation
yarn add @gitkraken/shared-web-componentsUsage
Import the component and define it with our function:
import { Avatar, defineGkElement } from '@gitkraken/shared-web-components';
defineGkElement(Avatar);Add the component to your HTML:
<gk-avatar src="https://avatars.githubusercontent.com/u/293282?v=4"></gk-avatar>