package Ġcom . github . on ot ol iy . kotlin x . material ui . table Ċ Ċ import Ġcom . github . on ot ol iy . kotlin x . material ui . create Styled Ċ import Ġcom . github . on ot ol iy . kotlin x . material ui . set Styled Props And Run Handler Ċ import Ġreact . R Builder Ċ import Ġreact . R Component Ċ import Ġreact . R State Ċ import Ġstyled . Styled Handler Ċ import Ġstyled . Styled Props Ċ Ċ @ Js Module ("@ material - ui / core / Table Head ") Ċ private Ġexternal Ġval Ġtable Head Module : Ġdynamic Ċ Ċ @ Suppress (" Unsafe Cast From Dynamic ") Ċ private Ġval ĠTable Head Component : ĠR Component < M Table Head Props , ĠR State > Ġ= Ġtable Head Module . default Ċ Ċ interface ĠM Table Head Props Ġ: ĠStyled Props Ġ{ ĊĠĠĠ Ġvar Ġcomponent : ĠString Ċ } Ċ Ċ fun ĠR Builder . m Table Head ( ĊĠĠĠ Ġcomponent : ĠString Ġ= Ġ" thead ", ĊĊĠĠĠ ĠclassName : ĠString ? Ġ= Ġnull , ĊĠĠĠ Ġhandler : ĠStyled Handler < M Table Head Props >? Ġ= Ġnull Ċ ) Ġ= Ġcreate Styled ( Table Head Component ) Ġ{ ĊĠĠĠ Ġattrs . component Ġ= Ġcomponent ĊĠĠĠ Ġset Styled Props And Run Handler ( className , Ġhandler ) Ċ } Ċ