Theming Component
Untuk mencari tau apakah elemen tersebut sudah bisa ditheming, bisa check di elemen tersebut sudah memiliki id atau belum, jika sudah maka sudah bisa diganti/ditambahkan style nya menggunakan class tailwind
Berikut caraa custom nya
import { themeConfig, TableLowcode, ThemeContext } from 'alurkerja-ui'
const TableWithTheming = () => {
return (
<ThemeContext.Provider value={{...themeConfig, table: 'overwrited-class'}}>
<TableLowcode />
</ThemeContext.Provider>
)
}
hingga versi 0.0.277 berikut beberapa id yang bisa di custom stylenya
export interface Theme {
table_wrapper?: string
table?: string
table_title?: string
table_head?: string
table_head_row?: string
table_head_col?: string
table_head_col_no?: string
table_head_col_bulk?: string
table_head_col_bulk_item?: string
table_head_col_action?: string
table_body_row?: string
table_body_col?: string
table_body_col_action?: string
}