0.0.6 • Published 1 month ago

@statussync.dev/react v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

Statussync.dev React Widget

Official React Widget for Statussync.dev

Install

$ npm install @statussync.dev/react
$ pnpm add @statussync.dev/react
$ yarn add @statussync.dev/react
$ bun add @statussync.dev/react

Usage

import { StatussyncWidget } from "@statussync.dev/react";

export function Page() {
  return <StatussyncWidget slug="paystack" />;
}

For NextJS server component

import { StatussyncRscWidget } from "@statussync.dev/react";

export function Page() {
  return <StatussyncRscWidget slug="paystack" />;
}

Import css styles in to your app

import "@statussync.dev/react/dist/styles.css";

Or

Extend in your tailwind config

module.exports = {
  content: [
    "./app/**/*.{tsx,ts,mdx,md}",

    "./node_modules/@statussync.dev/react/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
};
0.0.6

1 month ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago