npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

finezza-ui-component

v1.8.7

Published

Finezza ui components

Downloads

95

Readme

finezza-ui-component

Components for finezza

NPM JavaScript Style Guide

Install

npm install --save finezza-ui-component

Usage

To Import ConfirmButton

import React, { Component } from 'react'

import { ConfirmButton } from 'finezza-ui-component'
class Example extends Component {
  render() {
    return (
      <ConfirmButton
        handleConfirm='func(), it will not return any value only take a callback function'
        buttonTitle='string, the name of the button'
        popupTitle='string, the title of the dialog box'
        className='object, will pass the className'
        style='object, styling object style'
        buttonType='string, icon -> if we need only icon, else it will show the texted button'
        color="string, it will take only the mentioned values -> 'default','inherit','primary','secondary'"
        IconButton='icon name, name of the icon if we want the button as only icon'
        disabled='bool, to disbale the button'
        type='string, the type of the button such as submit type'
      />
    )
  }
}

To Import CurrencyInputbox

import React, { Component } from 'react'

import { CurrencyInputbox } from 'finezza-ui-component'

class Example extends Component {
  render() {
    return (
      <CurrencyInputbox
        handleChange='func(event, value), will return event,value(without comma)'
        value='string, will place the value'
        label='string, will give the label of the textbox'
        name='string, will give the name of the textbox'
        errorMessage='string, will give the error message to show'
        required='bool, will give true or false'
        disable='bool, will give true or false'
        disableInword='if text in word is not required'
      />
    )
  }
}

To Import PercentageInputbox

import React, { Component } from 'react'

import { PercentageInputbox } from 'finezza-ui-component'

class Example extends Component {
  render() {
    return (
      <PercentageInputbox
        handleChange='func, will return event'
        value='string, will place the value'
        label='string, will give the label of the textbox'
        name='string, will give the name of the textbox'
        errorMessage='string, will give the error message to show'
        required='bool, will give true or false'
        disable='bool, will give true or false'
        inputMask='string, will give the valid masking pattern'
      />
    )
  }
}

To Import Textbox

import React, { Component } from 'react'

import { Textbox } from 'finezza-ui-component'

class Example extends Component {
  render() {
    return (
      <Textbox
        handleChange='func, will return event'
        value='string, will place the value'
        label='string, will give the label of the textbox'
        name='string, will give the name of the textbox'
        errorMessage='string, will give the error message to show'
        required='bool, will give true or false'
        disable='bool, will give true or false'
        inputMask='string, will give the valid masking pattern'
      />
    )
  }
}

To Import Table

import React, { Component } from 'react'

import { CustomTable } from 'finezza-ui-component'

class Example extends Component {
  const
  tableHeader = [
    {
      displayName: 'AMOUNT',
      fieldName: 'amount',
      isAmount: true,
      width: '550px',
      align: 'center'
    }
  ]
  render() {
    return (
      <CustomTable
        tableHeader='array'
        rowData='array'
        checkbox='bool'
        handleCheckBox='func,(will return index of selected rows)'
        title='string'
        onClickRow='func (will return index of select row)'
        bankStyle='bool'
      />
    )
  }
}

To Import Loading Screen

import React, { Component } from 'react'

import { LoadingScreen } from 'finezza-ui-component'

class Example extends Component {
  render() {
    return (
      <LoadingScreen src='if we need to change the logo, by default it will show finezza logo' />
    )
  }
}

To Import Spinner

import React, { Component } from 'react'

import { SpinnerScreen } from 'finezza-ui-component'

class Example extends Component {
  render() {
    return (
      <SpinnerScreen
        open='bool'
        src='if we need to change the logo, by default it will show finezza logo'
      />
    )
  }
}

To Import all together

import { SpinnerScreen, LoadingScreen, CustomTable } from 'finezza-ui-component'

License

MIT ©