@neynar/ui
Version:
React UI component library built on shadcn/ui and Tailwind CSS
41 lines (31 loc) • 920 B
Markdown
# ScrollAreaCorner
**Type**: component
ScrollAreaCorner - The corner element where horizontal and vertical scrollbars meet Appears when both horizontal and vertical scrollbars are present. Usually handled automatically by the ScrollArea component but can be customized for specific layout requirements.
## JSX Usage
```jsx
import { ScrollAreaCorner } from '@neynar/ui';
<ScrollAreaCorner
asChild={true}
className="value"
/>
```
## Component Props
### asChild
- **Type**: `boolean`
- **Required**: No
- **Description**: No description available
### className
- **Type**: `string`
- **Required**: No
- **Description**: No description available
## Examples
```tsx
// Custom corner styling
<ScrollArea className="h-64 w-64">
<div className="w-96 h-96 p-4">
Content that overflows both axes
</div>
<ScrollBar orientation="horizontal" />
<ScrollAreaCorner className="bg-gray-100" />
</ScrollArea>
```