All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
10 lines
227 B
JavaScript
10 lines
227 B
JavaScript
import { Tag } from "sigpro";
|
|
|
|
export const Input = (props) => {
|
|
const { class: className, type = "text", ...rest } = props;
|
|
return Tag("input", {
|
|
...rest,
|
|
type,
|
|
class: `input ${className || ''}`.trim()
|
|
});
|
|
}; |