mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
352 B
JavaScript
12 lines
352 B
JavaScript
class Hello extends Preact.Component { // $ threatModelSource=view-component-input
|
|
render(props, state) { // $ threatModelSource=view-component-input
|
|
props.name;
|
|
state.name;
|
|
return <div/>;
|
|
}
|
|
} // $ reactComponent
|
|
|
|
class Hello extends preact.Component { // $ threatModelSource=view-component-input
|
|
|
|
} // $ reactComponent
|