feat: linter and prettier

This commit is contained in:
Alexandr
2022-06-30 17:33:26 +03:00
parent 251ae9bfaa
commit cf3038e401
8 changed files with 2231 additions and 38 deletions

View File

@@ -9,9 +9,7 @@
<Button color="yellow">Yellow</Button>
<Button color="purple">Purple</Button>
</div>
</template>
<script setup>
import { Button } from "../../../src/index";
import { Button } from '../../../src/index'
</script>

View File

@@ -9,9 +9,7 @@
<Button color="yellow" pill>Yellow</Button>
<Button color="purple" pill>Purple</Button>
</div>
</template>
<script setup>
import { Button } from "../../../src/index";
import { Button } from '../../../src/index'
</script>

View File

@@ -6,9 +6,7 @@
<Button size="lg">Large - lg</Button>
<Button size="xl">Extra Large - xl</Button>
</div>
</template>
<script setup>
import { Button } from "../../../src/index";
import { Button } from '../../../src/index'
</script>

View File

@@ -8,9 +8,7 @@ import ButtonPillExample from './ButtonPillExample.vue';
reference: [https://flowbite.com/docs/components/buttons/](https://flowbite.com/docs/components/buttons/)
## Props
### Color
## Props -> Color
```typescript
type ButtonVariant = 'default' | 'alternative' | 'dark' | 'light' | 'green' | 'red' | 'yellow' | 'purple'
@@ -42,7 +40,7 @@ import { Button } from 'flowbite-vue'
```
### Size
## Props -> Size
```typescript
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'
@@ -70,7 +68,7 @@ import { Button } from 'flowbite-vue'
</template>
```
### Pill
## Props -> Pill
```typescript
defineProps({