react-featuretta

An elegant, accessible featuretta component for React.

Usage no npm install needed!

<script type="module">
  import reactFeaturetta from 'https://cdn.skypack.dev/react-featuretta';
</script>

README

An elegant, accessible featuretta component for React.

See usage and examples.

Props

The component takes the following props.

Prop Type Description
title string Use this if you want to treat the featuretta as a controlled component

Installation

npm install react-featuretta

Usage

If you want the default styling, include the component's CSS with

import "react-featuretta/style.css" // for ES6 modules
// or
require("react-featuretta/style.css") // for CommonJS

Development

npm install
npm run dev

Build

npm run build

License

MIT