@nice2dev/ui-math 1.0.20 → 1.0.22

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/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { default as default_2 } from 'react';
2
+ import { NiceComponentTutorial } from '@nice2dev/ui-core';
2
3
  import { ReactNode } from 'react';
3
4
 
4
5
  /** Animation state */
@@ -573,7 +574,7 @@ export declare interface NiceI18nProviderProps {
573
574
  children: ReactNode;
574
575
  }
575
576
 
576
- export declare function NiceMathEditor({ service, initialLatex, onChange, className, style, }: NiceMathEditorProps): default_2.ReactElement;
577
+ export declare function NiceMathEditor({ service, initialLatex, onChange, className, style, tutorial, }: NiceMathEditorProps): default_2.ReactElement;
577
578
 
578
579
  export declare interface NiceMathEditorProps {
579
580
  service: MathEditorService;
@@ -581,6 +582,8 @@ export declare interface NiceMathEditorProps {
581
582
  onChange?: (latex: string) => void;
582
583
  className?: string;
583
584
  style?: default_2.CSSProperties;
585
+ /** Optional "?" guided tour. Off by default; `true` uses the built-in tour. */
586
+ tutorial?: NiceComponentTutorial;
584
587
  }
585
588
 
586
589
  export declare type NiceTranslateFn = (key: string, fallback?: string) => string;