본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Panel

원문 보기 위키 갱신

출처: 문서

본문

Examples

Basic

Main content

Header

Header content

Main content

Footer

Main content

Footer content

Header and footer

Header content

Main content

Footer content

No body

Main content

Raised

Main content

Bordered

Main content

Secondary variant

Main content

Scrollable

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Scrollable with auto height

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Scrollable with header and footer

Header content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Footer content

Pill

Main content

Props

Panel

*required | | Name | Type | Default | Description | children | React.ReactNode | | Content rendered inside the panel

| className | string | | Class to add to outer div

| hasNoBorder Beta | boolean | | Flag to remove the panel's border

| isAutoHeight Beta | boolean | | When used with a scrollable panel, sets the panel to auto height

| isFullHeight Beta | boolean | | Flag to make the panel fill the available height of its container

| isGlass Beta | boolean | | Modifies the panel to use glass styling when the glass theme is enabled

| isPill Beta | boolean | | Uses pill (fully rounded) border radius for the panel

| isScrollable | boolean | | Flag to add scrollable styling to the panel

| variant | 'raised' | 'bordered' | 'secondary' | | Adds panel variant styles

PanelMain

*required | | Name | Type | Default | Description | children | React.ReactNode | | Content rendered inside the panel main div

| className | string | | Class to add to outer div

| maxHeight | string | | Max height of the panel main div as a string with the value and unit

PanelMainBody

*required | | Name | Type | Default | Description | children | React.ReactNode | | Content rendered inside the panel main body div

| className | string | | Class to add to outer div

PanelHeader

*required | | Name | Type | Default | Description | children | React.ReactNode | | Content rendered inside the panel header

| className | string | | Class to add to outer div

PanelFooter

*required | | Name | Type | Default | Description | children | React.ReactNode | | Content rendered inside the panel footer

| className | string | | Class to add to outer div

Edit this page on GitHub

더 알아보기 (Learn more)