1.2.0 • Published 4 years ago
@tomorepo/spoiler v1.2.0
tomorepo/spoiler
Install dependency in your project
npm install @tomorepo/spoiler --save
Import component where you want to use it
import '@tomorepo/spoiler';
Use the component in your template
<spoiler-component title="My Spoiler Title" :is-light="false">
<p>This is the result (Injected via slot)</p>
</spoiler-component>