0.0.1 • Published 6 years ago

@toolabs/test-preact v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

test-preact NPM

A (123b gzip) foobar component for Preact

This module exposes three module definitions:

  • ES Module: dist/test-preact.es.js
  • CommonJS: dist/test-preact.js
  • UMD: dist/test-preact.min.js

If using the UMD bundle, the library is exposed as preactFoobar globally.

Install

$ npm install --save preact-scroll-header

Usage

import { h } from 'preact';
import Foobar from 'test-preact';

<Foobar>
  <h1>Hello</h1>
</Foobar>

Properties

id

Type: String Default: none

The id attribute to pass down.

className

Type: String Default: none

The className attribute to pass down. Added to the wrapper element.

foobar

Type: Number Default: 0

Foobar

License

MIT © Luke Edwards

0.0.1

6 years ago

0.0.0

6 years ago