8000 Problems Passing Enumerable Prop Types From Component Index File · Issue #118 · blueberryapps/react-bluekit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Problems Passing Enumerable Prop Types From Component Index File  #118
Open
@sconway

Description

@sconway

I recently started using your Bluekit project with some other developers that I work with, and we really enjoy it! One thing that I had trouble setting up was a propsDefinition for enumerable properties. I am trying to replicate the button component that is on the bluekit demo, but I’m unsure how to pass the enumerable values in the component index file. At the moment, it looks like this:

component-index

And they are being rendered as input fields instead of a select dropdown:

rendered-button

I have tried just using an array, instead of an array inside a String, but that did not seem to work either. The componentIndex.js file for this project is ignored, so I was unable to see how you guys were doing this for this project. My button component is defined as follows:

button-component

Do you have any idea what I am missing with this? Please let me know if you need any more information, and thank you for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0