mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 11:18:16 +00:00
pass className prop to DeviceHeader component
This commit is contained in:
parent
3da10ecf5a
commit
032c081447
@ -101,6 +101,7 @@ const DeviceHeader = ({
|
|||||||
isAccessible = true,
|
isAccessible = true,
|
||||||
disabled = false,
|
disabled = false,
|
||||||
isSelected = false,
|
isSelected = false,
|
||||||
|
className,
|
||||||
}) => {
|
}) => {
|
||||||
const status = getStatus(device);
|
const status = getStatus(device);
|
||||||
return (
|
return (
|
||||||
@ -109,6 +110,7 @@ const DeviceHeader = ({
|
|||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
isHoverable={isHoverable}
|
isHoverable={isHoverable}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
className={className}
|
||||||
>
|
>
|
||||||
<ClickWrapper
|
<ClickWrapper
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
@ -139,6 +141,7 @@ DeviceHeader.propTypes = {
|
|||||||
isOpen: PropTypes.bool,
|
isOpen: PropTypes.bool,
|
||||||
isSelected: PropTypes.bool,
|
isSelected: PropTypes.bool,
|
||||||
onClickWrapper: PropTypes.func.isRequired,
|
onClickWrapper: PropTypes.func.isRequired,
|
||||||
|
className: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default DeviceHeader;
|
export default DeviceHeader;
|
||||||
|
Loading…
Reference in New Issue
Block a user