Skip to content

Commit

Permalink
feat(table): make column label optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Mar 16, 2023
1 parent cc39283 commit 28dd714
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/components/STableColumn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SIcon from './SIcon.vue'
const props = withDefaults(defineProps<{
name: string
label: string
label?: string
className?: string
dropdown?: DropdownSection[]
hasHeader: boolean
Expand Down Expand Up @@ -165,6 +165,7 @@ function stopDialogPositionListener() {
.container {
display: flex;
justify-content: space-between;
min-height: 40px;
padding-left: 16px;
}
Expand Down
1 change: 1 addition & 0 deletions lib/composables/Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface TableColumns {

export interface TableColumn {
label: string
label?: string
className?: string
dropdown?: DropdownSection[]
resizable?: boolean
Expand Down

0 comments on commit 28dd714

Please sign in to comment.