@fluentui-contrib/react-shadow
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@fluentui-contrib/react-shadow

This package provides a React component that renders its children inside a shadow DOM.

Installation

yarn add @fluentui-contrib/react-shadow

Usage

import * as React from 'react';
import { root } from '@fluentui-contrib/react-shadow';

export const App = () => (
  <root.div>
    <div>Shadow DOM</div>
  </root.div>
);

/@fluentui-contrib/react-shadow/

    Package Sidebar

    Install

    npm i @fluentui-contrib/react-shadow

    Weekly Downloads

    21

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    17

    Last publish

    Collaborators

    • uifabricteam