# ClassMember

* jsx

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


  <ClassMember
    doc={Children}
    jsPrivate
    name={string | Namekey}
    nullish
    private
    protected
    public
    refkey={Refkey}
    static
  >
    {children}
  </ClassMember>
  ```

* stc

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


  ClassMember({
    doc: Children,
    jsPrivate: boolean,
    name: string | Namekey,
    nullish: boolean,
    private: boolean,
    protected: boolean,
    public: boolean,
    refkey: Refkey,
    static: boolean,
  }).children(children)
  ```

## Props

|           |                                                   |   |
| --------- | ------------------------------------------------- | - |
| children  | optional[Children](../../../core/types/children/) |   |
| doc       | optional[Children](../../../core/types/children/) |   |
| jsPrivate | optional boolean                                  |   |
| name      | string \| [Namekey](../../../core/types/namekey/) |   |
| nullish   | optional boolean                                  |   |
| private   | optional boolean                                  |   |
| protected | optional boolean                                  |   |
| public    | optional boolean                                  |   |
| refkey    | optional[Refkey](../../../core/types/refkey/)     |   |
| static    | optional boolean                                  |   |
