uiwjs / react-color

🎨 Is a tiny color picker widget component for React apps.
https://uiwjs.github.io/react-color
MIT License
291 stars 96 forks source link

Typo in Github picker placement enum: "Botton" instead of "Bottom" #131

Closed manuel-mauky closed 11 months ago

manuel-mauky commented 12 months ago

In the GithubPlacement enum there is a typo the word "Bottom" in several combinations.

export enum GithubPlacement {
  Left = 'L',
  LeftTop = 'LT',
  LeftBotton = 'LB',
  Right = 'R',
  RightTop = 'RT',
  RightBotton = 'RB',
  Top = 'T',
  TopRight = 'TR',
  TopLeft = 'TL',
  Botton = 'B',
  BottonLeft = 'BL',
  BottonRight = 'BR',
}

Not sure if you want to change this as it would mean a API breaking change. You could add the correctly spelled keys mapping to the same string values though.

jaywcjlove commented 12 months ago

@manuel-mauky update v2.0.0