Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Feat: New Component - ColorPicker #18

@acneidert

Description

@acneidert

Describe Problem/Implemention

Create a new component called Colorpicker, must be showed by a click
must be possible select these options:

  • HEX
  • RGB

Alpha is an option, the default is eneable
Attention on new HTML apis for dev

Possible Props

  • bind: string
  • type: 'RGB' | 'HEX' - [Discuss] - type returned to user
  • alpha: Boolean (true) - select alpha
  • show: Boolean - Is Showed Dropdown
  • onShow: Function - [Discuss] - Trigger some function when Showed
  • onHide: Function - [Discuss] - Trigger some function when Hided
  • onToogle: Function - [Discuss] - Trigger some function when Toogled

Sugestion of solution

class Test {
  color = "#000000"
  render() {
      return ( <Colorpicker bind={this.color } /> )
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions