microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
18.33k stars 2.72k forks source link

[Bug]: DataGrid: Code Sandbox examples not working #26433

Closed martinoss closed 1 year ago

martinoss commented 1 year ago

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 17.11 GB / 47.71 GB
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (108.0.1462.76)
    Internet Explorer: 11.0.19041.1566

Are you reporting Accessibility issue?

no

Reproduction

https://codesandbox.io/s/31j93c?file=/example.tsx

Bug Description

Actual Behavior

Compile errors:

TypeError
(0 , _reactComponents.createTableColumn) is not a function

Expected Behavior

Examples should work

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

martinoss commented 1 year ago

Ok, the issue is that it imports from /react-components instead of /react-components/unstable

layershifter commented 1 year ago

Can repro on the latest deployment.