Skip to content

Commit

Permalink
chore: replace deprecated classNameBuilder functions (replace prefix …
Browse files Browse the repository at this point in the history
…'use' with 'get') in collections/Message
  • Loading branch information
dominikdosoudil committed Nov 19, 2024
1 parent ca9917c commit 90f690c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/collections/Message/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
getComponentType,
getUnhandledProps,
SUI,
useKeyOnly,
useKeyOrValueAndKey,
getKeyOnly,
getKeyOrValueAndKey,
useEventCallback,
} from '../../lib'
import Icon from '../../elements/Icon'
Expand Down Expand Up @@ -52,18 +52,18 @@ const Message = React.forwardRef(function (props, ref) {
'ui',
color,
size,
useKeyOnly(compact, 'compact'),
useKeyOnly(error, 'error'),
useKeyOnly(floating, 'floating'),
useKeyOnly(hidden, 'hidden'),
useKeyOnly(icon, 'icon'),
useKeyOnly(info, 'info'),
useKeyOnly(negative, 'negative'),
useKeyOnly(positive, 'positive'),
useKeyOnly(success, 'success'),
useKeyOnly(visible, 'visible'),
useKeyOnly(warning, 'warning'),
useKeyOrValueAndKey(attached, 'attached'),
getKeyOnly(compact, 'compact'),
getKeyOnly(error, 'error'),
getKeyOnly(floating, 'floating'),
getKeyOnly(hidden, 'hidden'),
getKeyOnly(icon, 'icon'),
getKeyOnly(info, 'info'),
getKeyOnly(negative, 'negative'),
getKeyOnly(positive, 'positive'),
getKeyOnly(success, 'success'),
getKeyOnly(visible, 'visible'),
getKeyOnly(warning, 'warning'),
getKeyOrValueAndKey(attached, 'attached'),
'message',
className,
)
Expand Down

0 comments on commit 90f690c

Please sign in to comment.