File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
packages/theming/src/styled Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 77
88import styled from 'styled-components' ;
99import React , { Children } from 'react' ;
10- import retrieveComponentStyles from '../utils/retrieveComponentStyles' ;
11- import DEFAULT_THEME from '../elements/theme' ;
1210
1311const COMPONENT_ID = 'icon.base' ;
1412
15- // eslint-disable-next-line @typescript-eslint/no-unused-vars
13+ // eslint-disable-next-line @typescript-eslint/no-unused-vars,garden-local/require-default-theme
1614export const StyledBaseIcon = styled ( ( { children, theme, ...props } ) =>
1715 React . cloneElement ( Children . only ( children ) , props )
1816) . attrs ( {
1917 'data-garden-id' : COMPONENT_ID ,
2018 'data-garden-version' : PACKAGE_VERSION
2119} ) `
22- ${ props => retrieveComponentStyles ( COMPONENT_ID , props ) } ;
20+ /* stylelint-disable no-empty-block */
2321` ;
24-
25- StyledBaseIcon . defaultProps = {
26- theme : DEFAULT_THEME
27- } ;
You can’t perform that action at this time.
0 commit comments