Skip to content

ClipboardCopy extra commas #6863

@jschuler

Description

@jschuler

ClipboardCopy component renders unnecessary commas between text elements.
Example:

import React from 'react';
import { ClipboardCopy } from '@patternfly/react-core';

const someValue = "hello world";
const Basic = () => <ClipboardCopy hoverTip="Copy" clickTip="Copied">
This is editable {someValue}
{' '}
test
</ClipboardCopy>;

Screen Shot 2022-01-26 at 11 52 17 AM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions