mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-04 12:20:19 +03:00
added support for extensionsHook for ShelfIcon
This commit is contained in:
parent
b2d8e0f5b7
commit
100552f74b
|
@ -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 }>`
|
||||
|
|
Loading…
Reference in New Issue
Block a user