{/* xyz */}
onClick && e.stopPropagation()} // if the onClick above needs to take us to details this will prevent it from getting the event so that
// we can stake from the list of folders directly
className="iosdk-premium-content-notification"
style={{
background: "rgba(0,0,0,.05)",
padding: "20px",
borderRadius: "8px",
width: "90%",
maxWidth: "min(100vw,800px)",
marginLeft: "auto",
marginRight: "auto",
// height: "100%",
top: "10%",
left: "50%",
transform: "translate(-50%, 0)",
position: "absolute",
}}
>
Premium content: stake {round(stakeInfo.currentUserNeeds, 2)} ${stakeInfo.currency} to access.
{}} user={stakeInfo.owner} />
);
export const PremiumContent: IOView<
{
stakeToAccess?: number;
owner?: UserReadPublicResponse;
privateContentView?: IOView<{
stakeInfo: ReturnType