feat: initial pagination
This commit is contained in:
10
client/composables/editor.ts
Normal file
10
client/composables/editor.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { useClipboard } from '@vueuse/core'
|
||||
|
||||
export function useCopy() {
|
||||
const clipboard = useClipboard()
|
||||
|
||||
return (text: string) => {
|
||||
clipboard.copy(text)
|
||||
// TODO: show toast
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user