mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +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,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user