@fluentui-contrib/react-shadow
v0.1.0
Published
React components for Shadow DOM
Downloads
29
Readme
@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>
);