ref
import { ref } from "@alloy-js/python";
function ref(refkey: Refkey, options?: RefOptions): () => [Children, PythonOutputSymbol | undefined];Parameters
Section titled “Parameters”| refkey | Refkey | |
| options | optional RefOptions |
Options
Section titled “Options”| type | optional boolean | If true, this reference is only used in a type annotation context. The import will be guarded with if TYPE_CHECKING:. |
Returns
Section titled “Returns”() => [Children, PythonOutputSymbol | undefined]