Component design:
How to use a component:
STM_LMS_Templates::show_lms_template(
'components/alert',
array(
'id' => string, (required)
'title' => string, (required)
'text' => string, (required)
'submit_button_text' => string, (required)
'cancel_button_text' => string, (required)
'submit_button_style' => string, (required) ('primary'|'secondary'|'tertiary'|'outline'|'danger')
'cancel_button_style' => string, (required) ('primary'|'secondary'|'tertiary'|'outline'|'danger')
'dark_mode' => bool, (required)
)
);