import React from 'react' import { css } from 'styled-components' import { pipe } from 'fp-ts/lib/function' import * as O from 'fp-ts/lib/Option' import { Colors, ellipsis, FontSizes, FontWeights, } from '@monorail/helpers/exports' import { FooterList, FooterListItem, } from '@monorail/visualComponents/contentCard/Footer' import { Icon } from '../icon/Icon' import { Text } from '../typography/Text' export function LiveActionPlanFooter(props: LiveActionPlanFooterProps) { const { network } = props return ( <> {pipe( network, O.fold( () => , name => ( ), ), )} ) } export type LiveActionPlanFooterProps = { readonly network: O.Option // network name } export function LiveAction() { return ( Live Action ) } export function NetworkName(props: { name: string }) { return (
{props.name}
) }