"use client";
import Image from "next/image";
import { memo } from "react";
import {
getAssetPath,
shareIconPath,
type ShareIconName,
} from "../../../../lib/assetUtils";
import Avatar from "../../asset/Avatar";
import Button from "../../buttons/Button";
import Checkbox from "../../controls/Checkbox";
import SelectInput from "../../controls/SelectInput";
import TextInput from "../../controls/TextInput";
import Alert from "../Alert";
import { CreateModalFrameView } from "../Create/CreateModalFrame.view";
import ModalHeader from "../ModalHeader";
import ContentLockup from "../../type/ContentLockup";
import type { SharePerson } from "../../../../lib/ruleShareTypes";
import type { ShareViewProps } from "./Share.types";
function ShareGlyph(props: { name: ShareIconName; size?: number }) {
const size = props.size ?? 24;
return (
{props.title}
{props.subtitle ? ({props.subtitle}
) : null}{props.roleLabel}
{inviteError}
) : null}{copy.peopleWithAccess}
{overflowLabel}
) : null}{copy.whoCanRead}
{linkOn ? copy.anyoneWithLinkHint : copy.inviteOnlyHint}
) : null}{copy.confirmBody}