Skip to content

Commit

Permalink
chore(react-components): README NetworkDropdown props
Browse files Browse the repository at this point in the history
  • Loading branch information
samsiegart committed May 4, 2024
1 parent 77424b9 commit 5079d09
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/react-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,14 @@ and requires the `ThemeProvider` (see [Integrating](#integrating) above):
```tsx
import { NetworkDropdown } from '@agoric/react-components';

const NetworkSelect = () => {
return <NetworkDropdown />;
const MyNetworkSelect = () => {
return (
<NetworkDropdown
appearance="minimal"
size="sm"
label="Switch Agoric Networks"
/>
);
};
```

Expand Down

0 comments on commit 5079d09

Please sign in to comment.