viser-react
Version:
viser-react is react of viser.
20 lines (19 loc) • 664 B
TypeScript
import * as PropTypes from 'prop-types';
import * as React from 'react';
export default class PluginComponent extends React.Component<any, any> {
static childContextTypes: {
centralizedUpdates: PropTypes.Requireable<(...args: any[]) => any>;
};
container: any;
config: any;
plugins: any;
getChildContext(): {
centralizedUpdates: (unit: any) => void;
};
combineContentConfig(displayName: string, props: any, config: any): void;
centralizedUpdates: (unit: any) => void;
updateSliderInstance(config: any): void;
clearConfigData(): void;
portalRef: (container: any) => void;
render(): JSX.Element;
}