@publicai-ux/form-kit
v1.0.0
Published
This component can be used in both React applications and traditional HTML/JS projects.
Readme
Component165 Component
This component can be used in both React applications and traditional HTML/JS projects.
React Usage
import { Component165 } from '@publicai-ux/form-kit/Component165';
import '@publicai-ux/form-kit/styles.css';
function App() {
return (
<div>
<h1>My Application</h1>
<Component165 />
</div>
);
}HTML/JS Usage
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<link rel="stylesheet" href="node_modules/@publicai-ux/form-kit/styles.css">
</head>
<body>
<!-- Include the component HTML -->
<div data-component="component165">
<!-- Component will be inserted here -->
</div>
<!-- Initialize the component -->
<script type="module">
import { initComponents } from '@publicai-ux/form-kit';
// Initialize all components
initComponents();
</script>
</body>
</html>