# ReactSelectorExtractor

**Kind:** Class

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/react-selector-extractor.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/react-selector-extractor.ts#L18)

React Selector Extractor

## Methods

| Method | Signature | Returns |
|---|---|---|
| `extractFromJsx` | `extractFromJsx(jsx: string)` | `ExtractedSelectors` |

## Where it refuses work

- `ReactSelectorExtractor` stops the work with an early return when `!jsx || jsx.trim().length === 0`.
- `ReactSelectorExtractor` stops the work with an early return when `testId`.
- `ReactSelectorExtractor` stops the work with an early return when `id`.
- `ReactSelectorExtractor` stops the work with an early return when `name`.
- `ReactSelectorExtractor` stops the work with an early return when `firstClass`.
- `ReactSelectorExtractor` stops the work with an early return when `match`.
