Py.Cafe

Riggle001/

dash-antd-interactive-button-test

Interactive Button Test with Dash and AntD Components

DocsPricing
  • app.py
  • requirements.txt
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import dash
from dash import html
import feffery_antd_components as fac

app = dash.Dash(__name__)

app.layout = html.Div(
    [
        fac.AntdButton(
            '按钮测试',
            type='primary',
            style = {'color':'black'}
        )
    ],
    style={
        'padding': 50
    }
)

if __name__ == '__main__':
    app.run()