# isReactComponent

**Kind:** Function

**Source:** [`atloria-monorepo/apps/frontend-parser/src/utils/ast-helpers.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/frontend-parser/src/utils/ast-helpers.ts#L68)

Check if a function component is a React component (returns JSX)

## Signature

```ts
function isReactComponent(path: NodePath<t.FunctionDeclaration | t.ArrowFunctionExpression | t.FunctionExpression>): boolean
```

## Parameters

| Name | Type |
|---|---|
| `path` | `NodePath<t.FunctionDeclaration | t.ArrowFunctionExpression | t.FunctionExpression>` |

**Returns:** `boolean`
