@dialob/composer-material 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,6 @@
1
+ import { Component } from 'react';
1
2
  import { default as default_2 } from 'react';
3
+ import { FunctionComponent } from 'react';
2
4
  import { ItemId } from '@atlaskit/tree';
3
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
4
6
  import { LabelField } from '../items/ItemComponents';
@@ -94,8 +96,6 @@ declare interface ChoiceItemProps {
94
96
  valueSetId?: string;
95
97
  provided: TreeDraggableProvided;
96
98
  isGlobal?: boolean;
97
- expanded: string[];
98
- onToggleExpand: (id: string) => void;
99
99
  onRuleEdit: (entry: ValueSetEntry, rule: string) => void;
100
100
  onTextEdit: (entry: ValueSetEntry, label: LocalizedString) => void;
101
101
  onDelete: (entry: ValueSetEntry) => void;
@@ -553,7 +553,7 @@ declare type ValueSetEntry = {
553
553
  declare interface ValueSetProp {
554
554
  title: string;
555
555
  name: string;
556
- editor: any;
556
+ editor: Component | FunctionComponent;
557
557
  }
558
558
 
559
559
  declare type Variable = {