Skip to content

Commit b52a7cb

Browse files
committed
Include the ...rest in the empty prompt component
1 parent 5ccf681 commit b52a7cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/ui/src/components/base/layout/empty-prompt/RiEmptyPrompt.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const Spacer = styled.div`
1818
height: ${({ theme }) => theme.core.space.space100};
1919
`
2020

21-
const RiEmptyPrompt = ({ body, title, icon }: RiEmptyPromptProps) => (
22-
<StyledEmptyPrompt>
21+
const RiEmptyPrompt = ({ body, title, icon, ...rest }: RiEmptyPromptProps) => (
22+
<StyledEmptyPrompt {...rest}>
2323
{icon}
2424
{title && (
2525
<>

0 commit comments

Comments
 (0)