@livetiles/reach-components-react 0.4.0-preview.601 → 0.4.0-preview.607

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.
package/NewsEditor.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { FC } from 'react';
2
2
  export interface NewsEditorProps {
3
- newsId: string;
3
+ newsId?: string;
4
4
  groupId?: string;
5
+ onSuccessfulCreate?: (itemId: string) => void;
5
6
  className?: string;
6
7
  }
7
8
  export declare const NewsEditor: FC<NewsEditorProps>;
package/index.d.ts CHANGED
@@ -1037,8 +1037,9 @@ declare const ToolbarFilterSearch: styled_components.StyledComponent<FC<{
1037
1037
  }>, styled_components.DefaultTheme, {}, never>;
1038
1038
 
1039
1039
  interface NewsEditorProps {
1040
- newsId: string;
1040
+ newsId?: string;
1041
1041
  groupId?: string;
1042
+ onSuccessfulCreate?: (itemId: string) => void;
1042
1043
  className?: string;
1043
1044
  }
1044
1045
  declare const NewsEditor: FC<NewsEditorProps>;