Kind: Function
Source: atloria-monorepo/apps/frontend-parser/src/utils/ast-helpers.ts
Extract props from a function component's first parameter
Signature
tsfunction extractPropsFromParameter(param: t.Node | null | undefined): PropInfo[]
Parameters
| Name | Type |
|---|---|
param | `t.Node |
Returns: PropInfo[]
Was this page helpful?