diff --git a/app/javascript/gabsocial/assets/pip_icon.js b/app/javascript/gabsocial/assets/pip_icon.js new file mode 100644 index 00000000..45e29440 --- /dev/null +++ b/app/javascript/gabsocial/assets/pip_icon.js @@ -0,0 +1,25 @@ +const PipIcon = ({ + className = '', + size = '16px', + title = 'Picture in Picture', +}) => ( + + + + + + +) + +export default PipIcon \ No newline at end of file diff --git a/app/javascript/gabsocial/components/icon.js b/app/javascript/gabsocial/components/icon.js index fd10056e..a20eb0f7 100644 --- a/app/javascript/gabsocial/components/icon.js +++ b/app/javascript/gabsocial/components/icon.js @@ -51,6 +51,7 @@ import OLListIcon from '../assets/ol_list_icon' import PauseIcon from '../assets/pause_icon' import PencilIcon from '../assets/pencil_icon' import PinIcon from '../assets/pin_icon' +import PipIcon from '../assets/pip_icon' import PlayIcon from '../assets/play_icon' import PollIcon from '../assets/poll_icon' import ProIcon from '../assets/pro_icon' @@ -128,6 +129,7 @@ const ICONS = { 'pause': PauseIcon, 'pencil': PencilIcon, 'pin': PinIcon, + 'pip': PipIcon, 'play': PlayIcon, 'poll': PollIcon, 'pro': ProIcon,