* Lightweight ParamField + ParamHead. Zero @mintlify/components dependency.
| 3 | */ |
| 4 | |
| 5 | interface ParamFieldProps { |
| 6 | /** |
| 7 | * The parameter or property name. Mintlify's `<ParamField>` uses `path`, |
| 8 | * while `<ResponseField>` uses `name` — both are accepted here so the |
| 9 | * same component can render input arguments and output properties. |
| 10 | */ |
| 11 | path?: string; |
| 12 | name?: string; |
| 13 | type?: string; |
| 14 | required?: boolean; |
| 15 | default?: string; |
| 16 | deprecated?: boolean; |
| 17 | children?: React.ReactNode; |
| 18 | } |
| 19 | |
| 20 | function InfoPill({ children, prefix }: { children: React.ReactNode; prefix?: string }) { |
| 21 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected