package Ġorg . fl ax o . frontend . component Ċ Ċ import Ġkotlinx . html . Tag Ċ import Ġreact . dom . R DOM Builder Ċ import Ġkotlin . properties . ReadWrite Property Ċ import Ġkotlin . reflect . K Property Ċ Ċ private Ġabstract Ġclass ĠReact Property < TAG Ġ: ĠTag , ĠPROPERTY _ TYPE >( private Ġval Ġname : ĠString ) ĊĠĠĠ Ġ: ĠRead Write Property < R DOM Builder < TAG >, ĠPROPERTY _ TYPE > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠgetValue ( this Ref : ĠR DOM Builder < TAG >, Ġproperty : ĠK Property < *> ): ĠPROPERTY _ TYPE Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis Ref . attrs . attributes [ name ]. to PropertyType () ĊĊĠĠĠ Ġoverride Ġfun ĠsetValue ( this Ref : ĠR DOM Builder < TAG >, Ġproperty : ĠK Property <* >, Ġvalue : ĠPROPERTY _ TYPE ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis Ref . attrs . attributes [ name ] Ġ= Ġvalue ?. toString () Ġ?: Ġ"" ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġabstract Ġfun ĠString ?. to PropertyType (): ĠPROPERTY _ TYPE Ċ Ċ } Ċ Ċ private Ġclass ĠString React Property < TAG Ġ: ĠTag >( name : ĠString ) Ġ: ĠReact Property < TAG , ĠString >( name ) Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠString ?. to PropertyType (): ĠString Ġ= Ġthis Ġ?: Ġ"" Ċ } Ċ Ċ private Ġclass ĠBoolean React Property < TAG Ġ: ĠTag >( name : ĠString ) Ġ: ĠReact Property < TAG , ĠBoolean >( name ) Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠString ?. to PropertyType (): ĠBoolean Ġ= Ġthis ?. to Boolean () Ġ?: Ġfalse Ċ } Ċ Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. data Dismiss : ĠString Ġby ĠString React Property (" data - dismiss ") Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. data Toggle : ĠString Ġby ĠString React Property (" data - toggle ") Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. data Target : ĠString Ġby ĠString React Property (" data - target ") Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. aria Label : ĠString Ġby ĠString React Property (" aria - label ") Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. aria Label led By : ĠString Ġby ĠString React Property (" aria - labelledby ") Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. aria Descri bed By : ĠString Ġby ĠString React Property (" aria - describedby ") Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. aria Hidden : ĠBoolean Ġby ĠBoolean React Property (" aria - hidden ") Ċ var Ġ< T Ġ: ĠTag > ĠR DOM Builder < T >. defaultValue : ĠString Ġby ĠString React Property (" defaultValue ") Ċ