1.2.5 • Published 8 months ago

@iampava-devtools-ds/node v1.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@iampava-devtools-ds/node

A component for rendering DOM Node style opening and closing HTML tags.

Installation

npm i @iampava-devtools-ds/node
# or with yarn
yarn add @iampava-devtools-ds/node

Then to use the component in your code just import it!

import { Node } from "@iampava-devtools-ds/node";

Usage

The label can be a string or a React component.

const properties = {
  class: 'test',
  style: 'font-weight: bold;'
};

<Node name="div" properties={properties} />
  Content
<Node closing name="div" />

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!