Migrating new components
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
This commit is contained in:
10
components/Input.js
Normal file
10
components/Input.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Tag } from "sigpro";
|
||||
|
||||
export const Input = (props) => {
|
||||
const { class: className, type = "text", ...rest } = props;
|
||||
return Tag("input", {
|
||||
...rest,
|
||||
type,
|
||||
class: `input ${className || ''}`.trim()
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user