Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@wixc3/react-board

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/react-board

Library for creation of React component boards


Version published
Weekly downloads
2.2K
decreased by-35.19%
Maintainers
84
Weekly downloads
 
Created

@wixc3/react-board

npm version

Library for creation of React component boards.

Usage

Given:

// hello.tsx

import React from 'react';

export interface HelloProps {
  name: string;
}
export const Hello: React.VFC<HelloProps> = ({ name }) => <div>Hello ${name}</div>;

This library can be used to create boards for Hello:

// hello.board.tsx

import { createBoard } from '@wixc3/react-board';
import { Hello } from './hello';

createBoard({
  name: 'basic board',
  board: () => <Hello name="World" />,
});

License

MIT

FAQs

Package last updated on 07 Nov 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