Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/mayask/ink-react. Declarative email templates using react.js and ink.css
Something went wrong. Try again.
123456789101112131415161718192021222324252627
import React from 'react'import { InkComponent } from './_InkComponent'import classnames from 'classnames'
export class Col extends InkComponent { renderInk() { let colClass = classnames(this.props.class, "columns") let colContentClass = classnames({ 'center': this.props.center, 'panel': this.props.panel }) return ( <th className={colClass}> <table> <tr> <th className={colContentClass}> {this.renderChildren()} </th> <th className="expander"></th> </tr> </table> </th> ); }}