@stencila/thema
Version:
Themes for executable documents
23 lines (22 loc) • 730 B
TypeScript
import React from 'react';
import { ThemeObject } from '../utils';
interface Props {
baseTheme: ThemeObject;
baseThemeName: string;
themeOverrides: ThemeObject;
onClose: () => void;
}
interface State {
projectName: string;
}
export declare class ContributeForm extends React.PureComponent<Props, State> {
private el;
constructor(props: Props);
getModalTarget: () => HTMLElement | null;
setProjectName: (projectName: string) => void;
onNameChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
onRandomizeName: (e: React.MouseEvent<HTMLButtonElement>) => void;
onSubmitTheme: (e: React.MouseEvent<HTMLButtonElement>) => void;
render(): React.ReactPortal | null;
}
export {};