Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

react-sitelib

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-sitelib

Demonhead UI Library

latest
npmnpm
Version
0.0.46
Version published
Maintainers
1
Created
Source

react-sitelib

A comprehensive React library that simplifies UI development by offering a rich collection of reusable UI components and utility methods. Designed to streamline the creation of user interfaces across various applications, this package allows our team to centralize and maintain consistent UI elements, ensuring a cohesive and efficient development process

Installation (for standard modern project)

npm i react-sitelib

Dependencies

Required Peer Dependencies

These libraries are not bundled with React-Sitelib and are required at runtime:

  • react
  • react-dom
  • axios
  • react-bootstrap
  • jwt-decode

example usage

import { TitleWMutedRow, FieldValidationErrorMsg, HelpText, SubmitButton } from 'react-sitelib';

function SomeExamples() {
  return (
    <>
        <TitleWMutedRow muted={language.mutedTitle}>{language.title}</TitleWMutedRow>
        <HelpText>Enter the code you received in your email to finish signing in.</HelpText>
        <div className="form-group text-center">
            <div className="input-group mb-2">
                <input type="hidden" className="form-control" id="code" placeholder="Enter verification code" {...register("code")} />
            </div>
            <FieldValidationErrorMsg field="code" errors={errors} />
        </div>
        <SubmitButton isSubmitting={isSubmitting} isSubmitSuccessful={isSubmitSuccessful} defaultLabel="Verify Code" className="btn-medstar-primary"/>
    </>
  );
}

FAQs

Package last updated on 16 Oct 2023

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