import * as React from 'react'; import { AWebComponent } from '../base'; type props = { onClick?: tCommon.anyFun }; type state = tCommon.reactState; export class Centering extends AWebComponent { render() { return
{this.props.children}
} } const styles: { table: React.CSSProperties, td: React.CSSProperties } = { table: { width: '100%', height: '100%', borderCollapse: 'collapse' }, td: { textAlign: 'center', verticalAlign: 'middle' } }