import React from "react" export interface CrossComponentProps { /** north border style (e.g. "solid 1px blue") */ n?: string /** east border style (e.g. "solid 1px blue") */ e?: string /** south border style (e.g. "solid 1px blue") */ s?: string /** west border style (e.g. "solid 1px blue") */ w?: string /** 100% or 20, etc. Default: 100% */ width?: any /** 100% or 20, etc. Default: 100% */ height?: any /** True to collapse top half of box */ collapseTop?: boolean } // Displays a box with a cross in it with any segments optionally drawn export default class CrossComponent extends React.Component { static defaultProps = { width: "100%", height: "100%" } render() { // Make horizontal two boxes return (
) } }