refactor(core): remove barrel files and use auto-imports instead

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-06 17:41:22 +01:00
committed by Braks
parent aed0845857
commit f4a4736899
11 changed files with 26 additions and 42 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ const defaultState = (): State => ({
vueFlowVersion: typeof __VUE_FLOW_VERSION__ !== 'undefined' ? __VUE_FLOW_VERSION__ : '-',
})
export default (opts?: FlowOptions): State => {
export function useState(opts?: FlowOptions): State {
const state = defaultState()
if (opts) {
Object.keys(opts).forEach((o) => {