import * as React from 'react'
import styled from 'styled-components'
import { FlowChartWithState, IPortDefaultProps } from '../src'
import { Page } from './components'
import { chartSimple } from './misc/exampleChartState'
const PortDefaultOuter = styled.div`
width: 24px;
height: 24px;
background: cornflowerblue;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
`
const PortCustom = (props: IPortDefaultProps) => (
{ props.port.properties && props.port.properties.value === 'yes' && (
)}
{ props.port.properties && props.port.properties.value === 'no' && (
)}
{ !props.port.properties && (
)}
)
export const CustomPortDemo = () => {
return (
)
}