# ObjectProperty

* jsx

  ```tsx
  import { ObjectProperty } from "@alloy-js/typescript";


  <ObjectProperty
    jsValue={unknown}
    name={string | Namekey}
    nameExpression={Children}
    refkey={Refkey | Refkey[]}
    value={Children}
  >
    {children}
  </ObjectProperty>
  ```

* stc

  ```ts
  import { ObjectProperty } from "@alloy-js/typescript/stc";


  ObjectProperty({
    jsValue: unknown,
    name: string | Namekey,
    nameExpression: Children,
    refkey: Refkey | Refkey[],
    value: Children,
  }).children(children)
  ```

## Props

|                |                                                                                           |   |
| -------------- | ----------------------------------------------------------------------------------------- | - |
| children       | optional[Children](../../../core/types/children/)                                         |   |
| jsValue        | optional unknown                                                                          |   |
| name           | optional string \| [Namekey](../../../core/types/namekey/)                                |   |
| nameExpression | optional[Children](../../../core/types/children/)                                         |   |
| refkey         | optional[Refkey](../../../core/types/refkey/) \| [Refkey](../../../core/types/refkey/)\[] |   |
| value          | optional[Children](../../../core/types/children/)                                         |   |
