@isoftdata/svelte-button
Advanced tools
@@ -15,3 +15,3 @@ <script>import ButtonContents from "./ButtonContents.svelte"; | ||
| style: null, | ||
| prefix: "far", | ||
| prefix: "fas", | ||
| fixedWidth: true, | ||
@@ -18,0 +18,0 @@ icon: null |
+1
-1
| { | ||
| "name": "@isoftdata/svelte-button", | ||
| "version": "1.1.2", | ||
| "version": "1.1.3", | ||
| "scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "vite dev", |
+1
-1
@@ -20,3 +20,3 @@ # Svelte Button | ||
| | `href` | `string \| null` | The URL to link to when the button is clicked. | `null` | | ||
| | `icon` | `object` | All options relating to the [Icon component](https://github.com/ISoft-Data-Systems/svelte-component-icon). | `{ class: "", color: null, style: null, prefix: "far", fixedWidth: true, icon: null }` | | ||
| | `icon` | `object` | All options relating to the [Icon component](https://github.com/ISoft-Data-Systems/svelte-component-icon). | `{ class: "", color: null, style: null, prefix: "fas", fixedWidth: true, icon: null }` | | ||
| | `iconClass` | `string \| null` | The FontAwesome icon name, excluding the leading `fa-`, e.g. `pencil`. Either specify this prop, or `icon.icon`. | `null` | | ||
@@ -23,0 +23,0 @@ | `id` | `string \| null` | The ID of the button. | `null` | |