patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

Misspell visibility property on PageHeaderToolsItem component

Open ljmotta opened this issue 6 years ago • 0 comments

Describe the issue. What is the expected and unexpected behavior? The PageHeaderToolsItem component on react-core package has a prop called visibility which is a object with optional properties. The optional "2xl" property was misspelled to "2xl?" making it not optional.

Should be:

'2xl'?: 'hidden' | 'visible';

It is: https://github.com/patternfly/patternfly-react/blob/4bb4aa32f7d490d6b6e5a4882414461e18312d93/packages/react-core/src/components/Page/PageHeaderToolsItem.tsx#L18

Is this a bug or enhancement? If this issue is a bug, is this issue blocking you or is there a work-around? Bug

What is your product and what release version are you targeting? Kogito Tooling. PatternFly version: @pattenfly/react-core: 4.32.1

ljmotta avatar Jul 21 '20 20:07 ljmotta