bigbuffet-rw/app/soapbox/features/soapbox_config/components/icon-picker.tsx
Justin 20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00

18 lines
492 B
TypeScript

import React from 'react';
import IconPickerDropdown from './icon_picker_dropdown';
interface IIconPicker {
value: string,
onChange: React.ChangeEventHandler,
}
const IconPicker: React.FC<IIconPicker> = ({ value, onChange }) => {
return (
<div className='mt-1 relative rounded-md shadow-sm dark:bg-gray-800 border border-solid border-gray-300 dark:border-gray-600'>
<IconPickerDropdown value={value} onPickEmoji={onChange} />
</div>
);
};
export default IconPicker;