refactor(notes): use shared types and interfaces in components
This commit is contained in:
1 parent
2975b80a94
commit
557e48116a
12 files changed
+16
-57
No files matched your search
@@ -1,7 +1,4 @@
|
||||
interface FloatingButtonProps {
|
||||
onClick: () => void
|
||||
label?: string
|
||||
}
|
||||
import type { FloatingButtonProps } from '../interfaces/floating-button'
|
||||
|
||||
function FloatingButton({ onClick, label = 'Créer une note' }: FloatingButtonProps) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user