dash_mantine_components 0.14.1 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,9 +43,12 @@ from dash.exceptions import PreventUpdate
43
43
 
44
44
  import dash_mantine_components as dmc
45
45
 
46
- app = Dash(__name__)
46
+ stylesheets = ["https://unpkg.com/@mantine/dates@7/styles.css"]
47
+ dash._dash_renderer._set_react_version('18.2.0')
47
48
 
48
- app.layout = html.Div(
49
+ app = Dash(__name__, external_stylesheets=stylesheets)
50
+
51
+ app.layout = dmc.MantineProvider(
49
52
  [
50
53
  dmc.DatePicker(
51
54
  id="date-picker",