Skip to content

Commit 096ce11

Browse files
committed
Add README for React renderer
1 parent 26d938e commit 096ce11

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

renderers/react/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# @a2ui/react
2+
3+
React implementation of A2UI (Agent-to-User Interface).
4+
5+
> **Note:** This renderer is currently a work in progress.
6+
7+
## Installation
8+
9+
```bash
10+
npm install @a2ui/react
11+
```
12+
13+
## Usage
14+
15+
```tsx
16+
import { A2UIProvider, A2UIRenderer } from '@a2ui/react';
17+
import '@a2ui/react/styles/structural.css';
18+
19+
function App() {
20+
return (
21+
<A2UIProvider>
22+
<A2UIRenderer surfaceId="main" />
23+
</A2UIProvider>
24+
);
25+
}
26+
```
27+
28+
## Development
29+
30+
```bash
31+
npm run build # Build the package
32+
npm run dev # Watch mode
33+
npm test # Run tests
34+
```

0 commit comments

Comments
 (0)