from logging import debug
import dash
from dash import Input, Output, State, html
import dash_bootstrap_components as dbc
from dash_bootstrap_components.themes import BOOTSTRAP
app = dash.Dash(external_stylesheets=[dbc.themes, BOOTSTRAP])
button_groups = html.Div(
[
dbc.ButtonGroup(
[dbc.Button("1"), dbc.Button("2"), dbc.Button("3")],
size="lg",
className="me-2",
),
dbc.ButtonGroup(
[
dbc.Button("1", color="danger"),
dbc.Button("2", color="success"),
dbc.Button("3", color="warning"),
],
size="md",
className="me-1",
),
dbc.ButtonGroup(
[
dbc.Button("Left"),
dbc.Button("Middle"
dash-bootstrap-按钮组
最新推荐文章于 2024-08-02 00:59:31 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)