(react) add clearable option to Select

Based on a feedback given from another project, we want to be able
to disable the clear feature on the select.

Resolve #60
This commit is contained in:
Nathan Vasse
2023-05-17 16:02:19 +02:00
committed by NathanVss
parent 9065d6c87b
commit c11727976c
5 changed files with 65 additions and 1 deletions

View File

@@ -155,6 +155,16 @@ export const FullWidth = {
},
};
export const NotClearable = {
render: Template,
args: {
label: "Select a city",
options: OPTIONS,
defaultValue: OPTIONS[4].value,
clearable: false,
},
};
export const Success = {
render: Template,