File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
import styled , { css } from 'styled-components' ;
2
2
3
3
import { CommonStyleType } from '@/types/styles' ;
4
- import { getStyles } from '@/utils/getStyles/getStyles' ;
4
+ import { getStyles , getTypographyStyles } from '@/utils/getStyles/getStyles' ;
5
5
6
6
import { LineSeparatorLinePropsStylesType , LineSeparatorPositionType } from '../lineSeparator' ;
7
7
@@ -43,6 +43,7 @@ export const AccordionTitleStyled = styled.span<IAccordionStyles>`
43
43
44
44
export const AccordionHeaderRightContentStyled = styled . div < IAccordionStyles > `
45
45
${ props => getStyles ( props . styles ) }
46
+ ${ props => getTypographyStyles ( props . styles ) }
46
47
` ;
47
48
48
49
export const AccordionSubHeaderContainerStyled = styled . div < IAccordionStyles > `
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export type AccordionPropsStylesType = {
29
29
titleIconContainer ?: CommonStyleType ;
30
30
title ?: TypographyTypes ;
31
31
titleIcon ?: IconTypes ;
32
- headerRightContentContainer ?: CommonStyleType ;
32
+ headerRightContentContainer ?: CommonStyleType & TypographyTypes ;
33
33
lineSeparatorContainer ?: CommonStyleType & { variant ?: string } ;
34
34
} ;
35
35
You can’t perform that action at this time.
0 commit comments