diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-11-18 19:55:20 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-11-18 19:55:20 -0600 |
| commit | e644030a321bf3df154a5c7908f6f88184f28ea5 (patch) | |
| tree | 2e9c0ccc709e2284231fa1bb5ca396e639ea75c3 | |
| parent | 3f089fcc9a327b2d6a3e82cb3a2a1d5ff790b8b1 (diff) | |
| download | slskd-e644030a321bf3df154a5c7908f6f88184f28ea5.tar.gz | |
pass remaining props to segment
| -rw-r--r-- | src/web/src/components/Shared/PlaceholderSegment.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/src/components/Shared/PlaceholderSegment.js b/src/web/src/components/Shared/PlaceholderSegment.js index 4bea0846..fe1ca7c6 100644 --- a/src/web/src/components/Shared/PlaceholderSegment.js +++ b/src/web/src/components/Shared/PlaceholderSegment.js @@ -2,8 +2,8 @@ import React from 'react'; import { Segment, Header, Icon } from 'semantic-ui-react'; -const PlaceholderSegment = ({ icon, caption }) => ( - <Segment className='placeholder-segment' placeholder basic> +const PlaceholderSegment = ({ icon, caption, ...rest }) => ( + <Segment className='placeholder-segment' placeholder basic {...rest}> <Header icon> <Icon name={icon}/> {caption} |
