Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lazToum committed Nov 20, 2024
1 parent 6b12633 commit 311e7ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
## Usage

```tsx
import { Waldiez } from '@waldiez';
// npm|yarn|pnpm|bun|whatever add|install @waldiez/react
import { Waldiez } from '@waldiez/react';

import React from 'react';
import ReactDOM from 'react-dom/client';
Expand Down Expand Up @@ -130,7 +131,7 @@ const vsPath = isProd ? (import.meta.env.VS_PATH ?? null) : 'vs';
/**
* Other props:
* we can use:
* `import { importFlow } from '@waldiez';`
* `import { importFlow } from '@waldiez/react';`
* const flowJson = JSON.parse(flowJsonString);
* const flow = importFlow(flowJson);
* to import a flow from a waldiez/json file
Expand Down

0 comments on commit 311e7ab

Please sign in to comment.