1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 02:18:06 +00:00

pass className prop to DeviceHeader component

This commit is contained in:
slowbackspace 2018-12-18 10:58:12 +01:00 committed by Szymon Lesisz
parent 3da10ecf5a
commit 032c081447

View File

@ -101,6 +101,7 @@ const DeviceHeader = ({
isAccessible = true,
disabled = false,
isSelected = false,
className,
}) => {
const status = getStatus(device);
return (
@ -109,6 +110,7 @@ const DeviceHeader = ({
isOpen={isOpen}
isHoverable={isHoverable}
disabled={disabled}
className={className}
>
<ClickWrapper
disabled={disabled}
@ -139,6 +141,7 @@ DeviceHeader.propTypes = {
isOpen: PropTypes.bool,
isSelected: PropTypes.bool,
onClickWrapper: PropTypes.func.isRequired,
className: PropTypes.string,
};
export default DeviceHeader;