From 90f392e42d63eb3040f52f5f4d3c539304a51229 Mon Sep 17 00:00:00 2001 From: vasu Date: Thu, 15 Jun 2023 23:24:25 +0530 Subject: [PATCH] code refactor --- .../select/examples/SelectExample.vue | 2 +- src/components/Select/Select.vue | 63 +++++++++---------- src/components/Select/types.ts | 2 +- 3 files changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/components/select/examples/SelectExample.vue b/docs/components/select/examples/SelectExample.vue index c5f4f2a..d1f84fd 100644 --- a/docs/components/select/examples/SelectExample.vue +++ b/docs/components/select/examples/SelectExample.vue @@ -1,6 +1,6 @@ diff --git a/src/components/Select/Select.vue b/src/components/Select/Select.vue index 006bb6f..ea86414 100644 --- a/src/components/Select/Select.vue +++ b/src/components/Select/Select.vue @@ -1,7 +1,7 @@ \ No newline at end of file diff --git a/src/components/Select/types.ts b/src/components/Select/types.ts index 2ad533f..7f633e1 100644 --- a/src/components/Select/types.ts +++ b/src/components/Select/types.ts @@ -1,4 +1,4 @@ -export type optionsType = { +export type OptionsType = { value: string, name: string, } \ No newline at end of file