Skip to content
Snippets Groups Projects
Commit 016962e9 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[dome] unsupported 'active' button kind

parent e8421bf4
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ const LABEL = ({ disabled, label }: LABELprops) => ( ...@@ -75,7 +75,7 @@ const LABEL = ({ disabled, label }: LABELprops) => (
); );
export type ButtonKind = export type ButtonKind =
'default' | 'active' | 'primary' | 'warning' | 'positive' | 'negative'; 'default' | 'primary' | 'warning' | 'positive' | 'negative';
export interface ButtonProps { export interface ButtonProps {
/** Text of the label. Prepend to other children elements. */ /** Text of the label. Prepend to other children elements. */
...@@ -106,7 +106,6 @@ export interface ButtonProps { ...@@ -106,7 +106,6 @@ export interface ButtonProps {
focusable?: boolean; focusable?: boolean;
/** Styled bytton: /** Styled bytton:
- `'default'`: normal button; - `'default'`: normal button;
- `'active'`: active normal button;
- `'primary'`: primary button, in blue; - `'primary'`: primary button, in blue;
- `'warning'`: warning button, in orange; - `'warning'`: warning button, in orange;
- `'positive'`: positive button, in green; - `'positive'`: positive button, in green;
...@@ -495,12 +494,6 @@ export interface SelectProps { ...@@ -495,12 +494,6 @@ export interface SelectProps {
* <optgroup label='…'>…</optgroup> * <optgroup label='…'>…</optgroup>
* <option value='…' disabled=… >…</option> * <option value='…' disabled=… >…</option>
**Warning:** most non-positionning CSS properties might not
work on the`<select>` element due to the native rendering used
by Chrome.
You might use `-webkit-appearance: none` to cancel this behavior,
you will have to restyle the
component entirely, which is quite ugly by default.
*/ */
export function Select(props: SelectProps) { export function Select(props: SelectProps) {
const { onChange, placeholder } = props; const { onChange, placeholder } = props;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment