// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as React from 'react'; import { useSelector } from 'react-redux'; import { get } from 'lodash'; import { StateType } from '../reducer'; import { getIntl } from '../selectors/user'; import { LocalizerType } from '../../types/Util'; import { ReactionPicker, Props, } from '../../components/conversation/ReactionPicker'; type ExternalProps = Omit; export const SmartReactionPicker = React.forwardRef< HTMLDivElement, ExternalProps >((props, ref) => { const i18n = useSelector(getIntl); const skinTone = useSelector(state => get(state, ['items', 'skinTone'], 0) ); return ( ); });