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

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

The newest version!
import classNames from 'classnames'
import React from 'react'

import { withNewlines } from './helpers'

interface PositionedTextProps {
    text?: string | null
    position: 'left' | 'right'
}

export function PositionedText({ text, position }: PositionedTextProps) {
    if (!text) {
        return null
    }

    return (
        
{withNewlines(text)}
) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy