Created
March 5, 2018 01:01
-
-
Save EdwardIrby/f405d69c09456e8ae4adc2d53db6fa12 to your computer and use it in GitHub Desktop.
Light Dom FACE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const LightDomUsage = (props) => { | |
return ( | |
<ShadowDom lightDom={ | |
() => ( | |
<Fragment> | |
<span>I'm some light dom </span> | |
<span slot='span' className='text'>I'm some slottedlight dom </span> | |
</Fragment> | |
) | |
}> | |
<slot name='span'></slot> | |
</ShadowDom> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment