Skip to content

Commit

Permalink
chore(autocomplete): change component name
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `Autocomplete` renamed to `VAutocomplete`
  • Loading branch information
gravitano committed Jul 15, 2022
1 parent 4af87a3 commit 6ed3c28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useForm } from 'vee-validate';
import {useForm} from 'vee-validate';
import {ref} from 'vue';
import { object, array } from 'yup';
import {object, array} from 'yup';
import Autocomplete from './Autocomplete.vue';
import VBtn from '@gits-id/button'
import VBtn from '@gits-id/button';

const items = [
{value: 1, text: 'Wade Cooper'},
Expand Down Expand Up @@ -42,7 +42,6 @@ Clearable.args = {
clearable: true,
};


export const Validation = (args) => ({
components: {VBtn, Autocomplete},
setup() {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions packages/autocomplete/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Autocomplete from './Autocomplete.vue';
import VAutocomplete from './VAutocomplete.vue';

export {Autocomplete};
export default Autocomplete;
export {VAutocomplete, VAutocomplete as Autocomplete};
export default VAutocomplete;

0 comments on commit 6ed3c28

Please sign in to comment.