@@ -10,8 +10,8 @@ import {
10
10
getComponentType ,
11
11
getUnhandledProps ,
12
12
SUI ,
13
- useKeyOnly ,
14
- useKeyOrValueAndKey ,
13
+ getKeyOnly ,
14
+ getKeyOrValueAndKey ,
15
15
useEventCallback ,
16
16
} from '../../lib'
17
17
import Icon from '../../elements/Icon'
@@ -52,18 +52,18 @@ const Message = React.forwardRef(function (props, ref) {
52
52
'ui' ,
53
53
color ,
54
54
size ,
55
- useKeyOnly ( compact , 'compact' ) ,
56
- useKeyOnly ( error , 'error' ) ,
57
- useKeyOnly ( floating , 'floating' ) ,
58
- useKeyOnly ( hidden , 'hidden' ) ,
59
- useKeyOnly ( icon , 'icon' ) ,
60
- useKeyOnly ( info , 'info' ) ,
61
- useKeyOnly ( negative , 'negative' ) ,
62
- useKeyOnly ( positive , 'positive' ) ,
63
- useKeyOnly ( success , 'success' ) ,
64
- useKeyOnly ( visible , 'visible' ) ,
65
- useKeyOnly ( warning , 'warning' ) ,
66
- useKeyOrValueAndKey ( attached , 'attached' ) ,
55
+ getKeyOnly ( compact , 'compact' ) ,
56
+ getKeyOnly ( error , 'error' ) ,
57
+ getKeyOnly ( floating , 'floating' ) ,
58
+ getKeyOnly ( hidden , 'hidden' ) ,
59
+ getKeyOnly ( icon , 'icon' ) ,
60
+ getKeyOnly ( info , 'info' ) ,
61
+ getKeyOnly ( negative , 'negative' ) ,
62
+ getKeyOnly ( positive , 'positive' ) ,
63
+ getKeyOnly ( success , 'success' ) ,
64
+ getKeyOnly ( visible , 'visible' ) ,
65
+ getKeyOnly ( warning , 'warning' ) ,
66
+ getKeyOrValueAndKey ( attached , 'attached' ) ,
67
67
'message' ,
68
68
className ,
69
69
)
0 commit comments