api
Learn how to use the api component in your project.
Preview
Component preview
Installation
Terminal
npm install@react-overflow/api
Usage
component.tsx
import{Api}from'@react-overflow/api';export default functionExample() {return<Api/>}
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | - | Additional CSS classes |
| children | ReactNode | - | Component children |
| variant | "default" | "outline" | "default" | Visual variant of the component |