FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

PF4 react-table colums (title) to support jsx (also in collapsed view) · Issue #2941 · patternfly/patternfly-react · GitHub

PF4 react-table colums (title) to support jsx (also in collapsed view) #2941

Description

Pretty pretty please, would be great if pf-table didn't hate this

this kinda thing

    const [cols] = useState([
        { title: intl.formatMessage(messages.rulesTableColumnTitleRule), transforms: [sortable] },
        { title: intl.formatMessage(messages.rulesTableColumnTitleAdded), transforms: [sortable, cellWidth(15)] },
        { title: intl.formatMessage(messages.rulesTableColumnTitleTotalrisk), transforms: [sortable] },
        { title: intl.formatMessage(messages.rulesTableColumnTitleSystems), transforms: [sortable] },
        { title: <><AnsibeTowerIcon size='md' /> {intl.formatMessage(messages.rulesTableColumnTitleAnsible)}</>, transforms: [sortable] }
    ]);

throws this warning (it doesn't enjoy the <><AnsibeTowerIcon size='md' />...</>

also, it doesn't collapse very well, displays fallback rather than the column name

what it oughta look like

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL