File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ const ButtonStandAloneComponent = (
70
70
disabled = { disabled }
71
71
form = { props . form }
72
72
minWidth = { props . minWidth }
73
+ role = { props . role }
73
74
tabIndex = { props . tabIndex }
74
75
type = { props . type }
75
76
onClick = { props . onClick }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as React from 'react';
2
2
3
3
import { IElementOrIcon } from '@/components/elementOrIcon' ;
4
4
import { ILoader } from '@/components/loader/types' ;
5
- import { CustomTokenTypes } from '@/types' ;
5
+ import { CustomTokenTypes , ROLES } from '@/types' ;
6
6
7
7
import type { IconPositionType } from './buttonIconPosition' ;
8
8
import type { ButtonSizePropsType , ButtonStateKeyOfType } from './buttonTheme' ;
@@ -61,6 +61,7 @@ export interface IButtonStandAlone
61
61
onClick ?: React . MouseEventHandler < HTMLButtonElement > ;
62
62
icon ?: IElementOrIcon ;
63
63
form ?: string ;
64
+ role ?: string | ROLES ;
64
65
}
65
66
66
67
/**
You can’t perform that action at this time.
0 commit comments