Error when trying to use: "component prop type `start` is invalid"
valo opened this issue · comments
Valentin Mihov commented
I installed the plugin on a barebone Dash app and I am getting an error when trying to run this layout:
app.layout = dfx.Grid(id='grid', fluid=True, children=[
dfx.Row(children=[
dfx.Col(xs=12, lg=3, children=[
html.H1('Title')
])
]),
dfx.Row(id='row', children=[
dfx.Col(id='col', xs=6, lg=2, children=html.Div('Hello, World!')),
dfx.Col(xs=6, lg=2, children=html.Div('Hello, World!'))
])
])
The error:
function Row() {
_classCallCheck(this, Row);
return _possibleConstructorReturn(this, (Row.__proto__ || Object.getPrototypeOf(Row)).apply(this, arguments));
}: component prop type `start` is invalid; it must be a function, usually from React.PropTypes.
Any idea what could be the problem? Here are my dependencies:
dash==0.43.0
dash-daq==0.1.0
clickhouse-driver==0.0.15
pandas==0.24.2
gunicorn==19.7.1
pandas-compat==0.1.1
lz4==2.1.1
clickhouse-cityhash==1.0.2.2
dash-flexbox-grid==0.2.0
Sergei Pikhovkin commented
I fixed it. Please update
Valentin Mihov commented
It works with version 0.2.1. Thanks!