MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / getDefaultProps

Function getDefaultProps

src/components/kit/TextField.tsx:12–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10}
11
12const getDefaultProps = () => ({
13 value: "",
14 onChange: () => {},
15 type: "text",
16 className: "",
17 disabled: false,
18 placeholder: "",
19});
20
21const TextField = (props: Props) => {
22 const { value, disabled, className, placeholder, type, onChange } = {

Callers 1

TextFieldFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected