import React , { FC } from 'react' ; export const MessageGenericPreviewDescription = ( { children , clamp = false , } ) => ( < div className = { [ 'rcx-message-generic-preview__description' , clamp && 'rcx-message-generic-preview__description--clamp' , ] . filter ( Boolean ) . join ( ' ' ) } > { children } < /div>);