@guardian/threads
Version:
17 lines (16 loc) • 410 B
TypeScript
import { Component, ReactElement, ReactNode } from 'react';
declare type ControlWrapProps = {
title: string;
help: string;
htmlFor: string;
children: ReactNode;
vertical: boolean;
wrapper: ReactElement<any>;
};
export declare class ControlWrap extends Component<ControlWrapProps> {
static defaultProps: {
wrapper: JSX.Element;
};
render(): JSX.Element;
}
export {};