Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 384 Bytes

File metadata and controls

22 lines (16 loc) · 384 Bytes

@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>
);