Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dropbox/ts-transform-react-constant-elements
/ Props
Interface
Props
test/fixture/ConstantEl.tsx:2–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import * as React from
"react"
;
2
export interface Props {
3
className?: string;
4
}
5
export function Foo(props: Props) {
6
return (
7
<div className={props.className}>
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected