update: export toolbar defaultConfig
This commit is contained in:
parent
fc7d2d7303
commit
1b0896cff3
|
@ -17,7 +17,7 @@ export default Toolbar;
|
|||
export {
|
||||
ToolbarPlugin,
|
||||
ToolbarComponent,
|
||||
getToolbarDefaultConfig,
|
||||
getToolbarDefaultConfig as getDefaultConfig,
|
||||
fontFamilyDefaultData,
|
||||
fontfamily,
|
||||
};
|
||||
|
|
|
@ -334,4 +334,8 @@ const Toolbar: React.FC<ToolbarProps> = ({
|
|||
};
|
||||
|
||||
export default Toolbar;
|
||||
export { fontFamilyDefaultData, fontfamily };
|
||||
export {
|
||||
fontFamilyDefaultData,
|
||||
fontfamily,
|
||||
getToolbarDefaultConfig as getDefaultConfig,
|
||||
};
|
||||
|
|
|
@ -1,10 +1,19 @@
|
|||
import { fontFamilyDefaultData, fontfamily } from './config/toolbar';
|
||||
import ToolbarPlugin, { ToolbarComponent } from './plugin';
|
||||
import type { ToolbarOptions } from './plugin';
|
||||
import Toolbar from './Toolbar';
|
||||
import Toolbar, {
|
||||
getDefaultConfig,
|
||||
fontFamilyDefaultData,
|
||||
fontfamily,
|
||||
} from './Toolbar';
|
||||
import type { ToolbarProps, GroupItemProps, ToolbarItemProps } from './Toolbar';
|
||||
import './index.css';
|
||||
|
||||
export default Toolbar;
|
||||
export { ToolbarPlugin, ToolbarComponent, fontFamilyDefaultData, fontfamily };
|
||||
export {
|
||||
ToolbarPlugin,
|
||||
ToolbarComponent,
|
||||
fontFamilyDefaultData,
|
||||
fontfamily,
|
||||
getDefaultConfig,
|
||||
};
|
||||
export type { ToolbarProps, GroupItemProps, ToolbarItemProps, ToolbarOptions };
|
||||
|
|
Loading…
Reference in New Issue