Skip to content

FeatureDescription type not exported in react-enable root #11

@felladrin

Description

@felladrin

Hi there, thanks for creating this lib!

While going through the example, I've noticed an issue in the Readme, which indicates we should import the lib like this:

import { Features, ToggleFeature, Disable, Enable, FeatureDescription } from 'react-enable';

But I was only able to import it using the following:

import { Features, ToggleFeatures, Disable, Enable } from "react-enable";
import { FeatureDescription } from "react-enable/dist/FeatureState";

FeatureDescription was not exported in react-enable root.

I also noticed that ToggleFeature component name is actually ToggleFeatures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions