Skip to content
Rogain <Slot /> helper component
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

rogain-component-slot

Provides an outlet in a component that can be used to compose components.

<div class="card"><Slot name="contents" /></div>

useage:

<Card>
    <Slot name="contents">Why hello there!</Slot>
</Card>

Install

With npm do:

npm install rogain-component-slot

License

MIT

You can’t perform that action at this time.