diff --git a/components/data-apps/general-design-guide/index.md b/components/data-apps/general-design-guide/index.md index b10f2c21..30a3ef4c 100644 --- a/components/data-apps/general-design-guide/index.md +++ b/components/data-apps/general-design-guide/index.md @@ -112,7 +112,22 @@ Use the following code for primary buttons; secondary buttons can be simple `st. {: .image-popup} ![Screenshot - Save Data](/components/data-apps/general-design-guide/pic3.png) - +``` +def ChangeButtonColour(widget_label, font_color, background_color, border_color): + htmlstr = f""" + + """ + components.html(f"{htmlstr}", height=0, width=0) +``` **Example** ```