UNPKG

@smitch/fluid

Version:

A lightweight, Tailwind-powered React/Next.js UI component library.

8 lines 622 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Button } from "../.."; import { MdPictureInPictureAlt } from "react-icons/md"; var PipControl = function (duration, onPIP) { return (_jsx("div", { id: "pip", children: _jsxs(Button, { title: "Toggle Picture in Picture", onClick: onPIP, btnBackground: "transparent", btnColor: "light", size: "sm", className: "lg:-ml-2", disabled: duration === 0, children: [_jsx(MdPictureInPictureAlt, {}), _jsx("span", { className: "sr-only", children: "Toggle Picture in Picture" })] }) })); }; export default PipControl; //# sourceMappingURL=PipControl.js.map