Socket
Book a DemoInstallSign in
Socket

@djaciel/react-components

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@djaciel/react-components

Wooy UI elements in a shared lib

1.0.1
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Wooy React Tailwind UI Components

React UI components using tailwindcss

Components:

Component Groups

  • Buttons
  • Containers
  • Icons
  • Input
  • Layout
  • Links
  • Loading
  • Modal
  • Navigation
  • PageHeader

Top level components

Installation:

yarn add @wooy/react-components

Usage

Required:

// tailwind.config.js
const wooyTheme = require("@wooy/react-components");
module.exports = wooyTheme({
  purge: [],
  theme: {
    extend: {},
  },
  variants: {},
  plugins: [],
});
// _app.jsx
import "@wooy/react-components/dist/index.css";

Now you can use any components you want:

import React from "react";
import { Button } from "@wooy/react-components";

<Button type="submit">Submit</Button>;

// -------------------

import React from "react";
import Link from "next/link";
import { ButtonLink } from "@wooy/react-components";

<ButtonLink Link={Link} href={href} as={as}>View</Button>

Local development (yalc)

In react-components: yalc publish

In the app you're importing react-components: yalc add @wooy/react-components

Local development (yarn)

TODO: Make this better...

In react-components: yarn link

In the app you're importing react-components: yarn link-components

In react-components: yarn link-local yarn start

In the app you're importing react-components: yarn dev

And your app will hot reload when changes are detected in the components folder!

Testing

  • yarn test will run jest

TODO:

  • integrate prettier/husky with our default prettier config
  • copy unit tests over and get them running in this lib

Keywords

react

FAQs

Package last updated on 05 Feb 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.