feat: linter and prettier
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user