fix!: prop typings

* remove wrapper exports from library

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-22 15:49:27 +01:00
parent 4932c64d52
commit fec38a129a
9 changed files with 20 additions and 18 deletions
@@ -7,7 +7,7 @@ import UserSelection from '../../components/UserSelection/UserSelection.vue'
interface SelectionPaneProps {
edges: Edge[]
selectedElements: FlowElements
selectedElements?: FlowElements
selectionKeyCode?: KeyCode
deleteKeyCode?: KeyCode
multiSelectionKeyCode?: KeyCode
@@ -20,6 +20,7 @@ const props = withDefaults(defineProps<SelectionPaneProps>(), {
deleteKeyCode: 'Backspace',
multiSelectionKeyCode: 'Meta',
elementsSelectable: true,
selectedElements: () => [],
})
const store = useStore()