import * as React from "react"; /** * What every plugin screen has around its page: the brand line, and the * dashboard's ground under the page, so the five screens read as one product * inside wp-admin. wp-admin's own menu and bars are left as they are. * * The page inside brings its own title (its one `h1`) and its own padding, as * it does in the dashboard. PHP draws the same brand line on the pages it * prints without the app (`.accessibit-brand`, fallback.css). */ export function Shell({ logo, site, children, }: { /** The logo's address: a data URI the build inlines. */ logo: string; /** The connected site's address, when there is one. */ site?: string; children: React.ReactNode; }) { return (
AccessiBit {site && (

{site}

)}
{children}
); }