Nomad Packaging Mechanism

    @devtools-ds/node
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.0 • Public • Published

    @devtools-ds/node

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

    Installation

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

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

    import { Node } from "@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):


    Tyler Krupicka

    📖 💻 🎨 💡 ⚠️

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

    Keywords

    none

    Install

    npm i @devtools-ds/node

    DownloadsWeekly Downloads

    14

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    28.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • tylerkrupicka