Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '@patternfly/react-core';
import {
Select as SelectDeprecated,
SelectOption
SelectOption as SelectOptionDeprecated
} from '@patternfly/react-core/deprecated';
import OutlinedPlayCircleIcon from '@patternfly/react-icons/dist/esm/icons/outlined-play-circle-icon';
import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
Expand Down Expand Up @@ -122,15 +122,15 @@ const ComplexToolbarLogViewer = () => {
};

const selectDataSourceMenu = Object.entries(dataSources).map(([value, { type }]) => (
<SelectOption
<SelectOptionDeprecated
key={value}
value={value}
isSelected={selectedDataSource === value}
isChecked={selectedDataSource === value}
>
<Badge key={value}>{type}</Badge>
{` ${value}`}
</SelectOption>
</SelectOptionDeprecated>
));

const selectDataSourcePlaceholder = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
} from '@patternfly/react-core';
import {
Select as SelectDeprecated,
SelectOption
SelectOption as SelectOptionDeprecated
} from '@patternfly/react-core/deprecated';
import OutlinedPlayCircleIcon from '@patternfly/react-icons/dist/esm/icons/outlined-play-circle-icon';
import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const CustomControlLogViewer = () => {
Print to Console
</Button>
</ToolbarItem>
<ToolbarItem>
<ToolbarItem alignSelf='center'>
<Checkbox label="Wrap text" aria-label="wrap text checkbox" isChecked={isTextWrapped} id="wrap-text-checkbox" onChange={(_event, value) => setIsTextWrapped(value)} />
</ToolbarItem>
</ToolbarContent>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading