All Downloads are FREE. Search and download functionalities are using the official Maven repository.

plugins.Footer.Footer.tsx Maven / Gradle / Ivy

The newest version!
import React, { CSSProperties } from 'react'
import classNames from 'classnames'

import { ElementVisibility, WindowType } from '../../components/core/WindowType'

import { resolveText } from './helpers'
import { PositionedText } from './PositionedText'

interface Props {
    textRight?: string
    textLeft?: string
    className?: string
    style?: CSSProperties
}

function Footer({ textRight, textLeft, className, style }: Props) {
    const { N2O_ELEMENT_VISIBILITY = {} as ElementVisibility } = window as WindowType

    let currentStyle = { ...style }

    if (N2O_ELEMENT_VISIBILITY && N2O_ELEMENT_VISIBILITY.footer === false) {
        currentStyle = { display: 'none' }
    }

    return (
        
) } export default Footer




© 2015 - 2024 Weber Informatics LLC | Privacy Policy