update: Color prop optional in MarkerDefinitions
This commit is contained in:
@@ -10,7 +10,8 @@ export default defineComponent({
|
|||||||
props: {
|
props: {
|
||||||
color: {
|
color: {
|
||||||
type: String as PropType<MarkerDefinitionsProps['color']>,
|
type: String as PropType<MarkerDefinitionsProps['color']>,
|
||||||
required: true
|
required: false,
|
||||||
|
default: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setup(props) {
|
setup(props) {
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import { InjectionKey } from 'vue';
|
||||||
|
import { RevueFlowStore } from '../types';
|
||||||
|
import { RevueFlowHooks } from '../hooks/RevueFlowHooks';
|
||||||
|
|
||||||
|
export const StoreKey: InjectionKey<RevueFlowStore> = Symbol('store');
|
||||||
|
export const HooksKey: InjectionKey<RevueFlowHooks> = Symbol('hooks');
|
||||||
|
export const NodeIdContextKey: InjectionKey<string> = Symbol('NodeIdContext');
|
||||||
Reference in New Issue
Block a user