helppeople-ui 1.11.9 → 1.12.0

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.
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { MentionsProps as AntMentionsProps } from 'antd';
3
+ import { OptionProps } from 'rc-mentions/lib/Option';
4
+ declare const Option: React.FC< OptionProps>;
5
+ export interface CustomMentionsProps extends AntMentionsProps {
6
+ label?: string;
7
+ required?: boolean;
8
+ helppeopleSpin?: boolean;
9
+ }
10
+ declare const CustomMentions: React.FC<CustomMentionsProps> & {
11
+ Option: typeof Option;
12
+ };
13
+ export default CustomMentions;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const CustomMentionsExample: React.FC;
3
+ export default CustomMentionsExample;
package/dist/index.d.ts CHANGED
@@ -22,6 +22,8 @@ export { default as Table } from './components/CustomTable/CustomTable';
22
22
  export { default as Tabs } from './components/CustomTabs/CustomTabs';
23
23
  export { default as Toolbar } from './components/CustomToolbar/CustomToolbar';
24
24
  export { default as SubToolbar } from './components/CustomSubToolbar/CustomSubToolbar';
25
+ export { default as Mentions } from './components/CustomMentions/CustomMentions';
26
+ export type { CustomMentionsProps } from './components/CustomMentions/CustomMentions';
25
27
  export { default as Tooltip } from './components/CustomTooltip/CustomTooltip';
26
28
  export { default as Upload } from './components/CustomUpload/CustomUpload';
27
29
  export { default as UploadDragger } from './components/CustomUpload/CustomUploadDragger';