New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

btz-component

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

btz-component

BTZ Component

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

btz-component

BTZ Component

NPM JavaScript Style Guide

Install

npm install --save btz-component

Usage

import React, { Component } from 'react'

import { LiveTextComponent, MoveableListComponent } from 'btz-component'
import 'btz-component/dist/index.css'

class Example extends Component {
  render() {
    return (
      <div style={{padding: 20}}>
            <h2>Live Text</h2>
            <div style={{width: 400, height: 400}}>
                <LiveTextComponent 
                    image={'https://lelogama.go-jek.com/prime/upload/image/come-be-a-gojek-driver-partner.svg'} 
                    bubble={[
                        {title: '12', description: 'lorem ipsum', x: 15, y: 20, color: 'grey'},
                        {title: '19', description: 'lorem ipsum', x: 10, y: 67, color: 'orange'},
                        {title: '55', description: 'lorem ipsum', x: 32, y: 80, color: 'red'},
                        {title: '24', description: 'lorem ipsum', x: 60, y: 80, color: 'green'},
                        {title: '37', description: 'lorem ipsum', x: 43, y: 10, color: 'red'},
                        {title: '22', description: 'lorem ipsum', x: 45, y: 40, color: 'orange'},
                        {title: '80', description: 'lorem ipsum', x: 80, y: 27, color: 'blue'}
                    ]}
                />
            </div>

            <h2>Moveable List</h2>
            <div style={{width: 400}}>
                <MoveableListComponent data={[
                    {
                        id: 1,
                        content: 'Write a cool JS library',
                    },
                    {
                        id: 2,
                        content: 'Make it generic enough',
                    },
                    {
                        id: 3,
                        content: 'Write README',
                    },
                    {
                        id: 4,
                        content: 'Create some examples',
                    },
                    {
                        id: 5,
                        content: 'Spam in Twitter and IRC to promote it (note that this element is taller than the others)',
                    },
                    {
                        id: 6,
                        content: '???',
                    },
                    {
                        id: 7,
                        content: 'PROFIT',
                    },
                    {
                        id: 8,
                        content: 'AS IS AS',
                    },
                ]} />
            </div>
        </div>
    )
  }
}

License

MIT © ganjardbc

FAQs

Package last updated on 12 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts