Skip to content

Commit

Permalink
feat(table): add declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Sep 26, 2021
1 parent 5bcac36 commit 30072d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/varlet-ui/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export * from './swipeItem'
export * from './switch'
export * from './tab'
export * from './tabItem'
export * from './table'
export * from './tabs'
export * from './tabsItems'
export * from './timePicker'
Expand Down
11 changes: 11 additions & 0 deletions packages/varlet-ui/types/table.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { VarComponent } from './varComponent'

export interface TableProps {
fullWidth?: string | number
}

export class Table extends VarComponent {
$props: TableProps
}

export class _TableComponent extends Table {}

0 comments on commit 30072d3

Please sign in to comment.