Skip to content

Commit

Permalink
feat: export select and tooltip components
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Sep 4, 2024
1 parent 6ce6a37 commit 03e98e8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ import WLink from './components/Link/WLink.vue'
import WLoadingPlaceholder from './components/LoadingPlaceholder/WLoadingPlaceholder.vue'
import WNavbar from './components/Navbar/WNavbar.vue'
import WSection from './components/Section/WSection.vue'
import WSelect from './components/Select/WSelect.vue'
import WSpinner from './components/Spinner/WSpinner.vue'
import WTooltip from './components/Tooltip/WTooltip.vue'

export { WButton, WEmptyState, WFooter, WLink, WLoadingPlaceholder, WNavbar, WSection, WSpinner }
export { WButton, WEmptyState, WFooter, WLink, WLoadingPlaceholder, WNavbar, WSection, WSelect, WSpinner, WTooltip }
export type WButton = typeof WButton
export type WEmptyState = typeof WEmptyState
export type WFooter = typeof WFooter
export type WLink = typeof WLink
export type WLoadingPlaceholder = typeof WLoadingPlaceholder
export type WNavbar = typeof WNavbar
export type WSection = typeof WSection
export type WSelect = typeof WSelect
export type WSpinner = typeof WSpinner
export type WTooltip = typeof WTooltip

import type { App } from 'vue'

Expand All @@ -30,7 +34,9 @@ const WComponents = {
app.component('WLoadingPlaceholder', WLoadingPlaceholder)
app.component('WNavbar', WNavbar)
app.component('WSection', WSection)
app.component('WSelect', WSelect)
app.component('WSpinner', WSpinner)
app.component('WTooltip', WTooltip)
}
}

Expand Down

0 comments on commit 03e98e8

Please sign in to comment.