/**
* The handful of glyphs this screen needs.
*
* Inline rather than @wordpress/icons: that package is bundled, not provided by
* WordPress at runtime, so importing it would add a build dependency to the
* free plugin for six small paths.
*/
const PATHS = {
people: (
<>
>
),
pause: (
<>
>
),
money: (
<>
>
),
alert: (
<>
>
),
trend: (
<>
>
),
chart: (
<>
>
),
card: (
<>
>
),
shield: ,
check: ,
external: (
<>
>
),
};
export default function Icon({ name, size = 16 }) {
if (!PATHS[name]) {
return null;
}
return (
);
}