// Package imports. import PropTypes from 'prop-types'; import React from 'react'; import { FormattedMessage, defineMessages, } from 'react-intl'; import spring from 'react-motion/lib/spring'; // Utils. import Motion from 'flavours/glitch/util/optional_motion'; // Messages. const messages = defineMessages({ format: { defaultMessage: 'Advanced search format', id: 'search_popout.search_format', }, hashtag: { defaultMessage: 'hashtag', id: 'search_popout.tips.hashtag', }, status: { defaultMessage: 'status', id: 'search_popout.tips.status', }, text: { defaultMessage: 'Simple text returns matching display names, usernames and hashtags', id: 'search_popout.tips.text', }, user: { defaultMessage: 'user', id: 'search_popout.tips.user', }, }); // The spring used by our motion. const motionSpring = spring(1, { damping: 35, stiffness: 400 }); // The component. export default function DrawerSearchPopout ({ style }) { // The result. return (