added support for extensionsHook for ShelfIcon

This commit is contained in:
Pranit Khadilkar 2023-10-26 17:49:56 +05:30
parent b2d8e0f5b7
commit 100552f74b

View File

@ -1,5 +1,5 @@
import * as React from 'react';
import styled from '../styled-components';
import styled, { extensionsHook } from '../styled-components';
const directionMap = {
left: '90deg',
@ -45,6 +45,8 @@ export const ShelfIcon = styled(IntShelfIcon)`
fill: ${({ color, theme }) =>
(color && theme.colors.responses[color] && theme.colors.responses[color].color) || color};
}
${extensionsHook('ShelfIcon')};
`;
export const Badge = styled.span<{ type: string }>`