functions module¶
- get_config_path(module_name, ssb_template=True)¶
- Parameters:
module_name (str)
ssb_template (bool)
- sidebar_button(icon, text, component_id, additional_styling=None)¶
Generate a sidebar button with an icon and label.
- Parameters:
icon (
str) – The icon displayed at the top of the button.text (
str) – The label text displayed below the icon.component_id (
str) – The ID assigned to the button component.additional_styling (
dict[str,str] |None) – Additional styling applied to the button. Defaults to an empty dictionary.
- Returns:
A Div containing the styled button.
- Return type:
html.Div