@@ -10,8 +10,8 @@ import {
1010 getComponentType ,
1111 getUnhandledProps ,
1212 SUI ,
13- useKeyOnly ,
14- useKeyOrValueAndKey ,
13+ getKeyOnly ,
14+ getKeyOrValueAndKey ,
1515 useEventCallback ,
1616} from '../../lib'
1717import Icon from '../../elements/Icon'
@@ -52,18 +52,18 @@ const Message = React.forwardRef(function (props, ref) {
5252 'ui' ,
5353 color ,
5454 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' ) ,
6767 'message' ,
6868 className ,
6969 )
0 commit comments