Skip to content

Commit 9bb190a

Browse files
author
Kubit
committed
Add new toles and arias to Text component
1 parent 4bc081a commit 9bb190a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/text/types/component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ export enum TextComponentType {
2727
DL = 'dl',
2828
DT = 'dt',
2929
DD = 'dd',
30+
DIV = 'div',
3031
}

src/components/text/types/text.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface ITextStyled {
2020

2121
type TextAriaAttributes = Pick<
2222
React.AriaAttributes,
23-
'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-hidden'
23+
'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-hidden' | 'aria-level'
2424
>;
2525

2626
export interface ITextStandAlone extends ITextStyled, TextAriaAttributes {

0 commit comments

Comments
 (0)