Skip to content

Commit

Permalink
fix: use more precise type
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 19, 2023
1 parent c481022 commit bbbabbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/CopyButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defineProps({
default: 'bg-gradient-to-b from-gray-800 to-gray-900 hover:to-gray-700 lg:hover:to-gray-800'
},
size: {
type: String,
type: String as () => 'xl' | 'sm' | 'md' | 'xs' | '2xs' | 'lg' | undefined,
default: 'md'
},
text: {
Expand Down

0 comments on commit bbbabbe

Please sign in to comment.