type
'checkbox' | 'title' | 'text' | 'tag' | 'button' | 'iconButton' | 'singleSelect' | 'custom'
-
타입
text
string
셀 텍스트
borderColor
type이 tag일 경우 tag의 border color
bgColor
type이 tag일 경우 tag의 background color
textColor
type이 tag일 경우 tag의 text color
icon
React.ReactNode
type이 iconButton일 경우 icon 컴포넌트
onClick
function
type이 button 또는 iconButton일 경우 버튼 클릭 이벤트 핸들러
children
커스텀 헤더 컴포넌트 (variant가 dropdown일 경우)
row
Row<TData>
ColumnDef의 cell props (type이 checkbox일 경우)
Last updated 11 months ago
<TableCell type={'text'} text={'셀 텍스트'} />