UNPKG

@xuda.io/xuda-ui-plugin-flag-icons

Version:

The Xuda Flag-Icons UI Plugin integrates the flag-icons library into your Xuda environment, enabling you to effortlessly display high-quality SVG flags from around the world. Easily customize size, style, and layout, thereby enhancing internationalization

31 lines (22 loc) 774 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://cdn.tailwindcss.com"></script> <script src="https://dev.xuda.io/dist/runtime/js/xuda-runtime-slim.js"></script> <title>flatpickr.js Plugin Configurator</title> <script type="module"> import * as plugin from "../src/runtime.mjs"; import { properties } from "../src/index.mjs"; // import { initializeUiPlugin } from "@xuda.io/plugin-sandbox"; import { initializeUiPlugin } from "../../../plugin-sandbox/src/index.js"; const el = ` <div> 972 </div> `; initializeUiPlugin($("body")[0], plugin, properties, el) </script> </head> <body class="bg-gray-100 p-6"> </body> </html>