microsoft / fast

The adaptive interface system for modern web experiences.
https://www.fast.design
Other
9.23k stars 590 forks source link

fix: bad example in fast-foundation/src/accordion/README.md #6938

Closed guimard closed 3 months ago

guimard commented 4 months ago

🐛 Bug Report

When trying this example given in fast-foundation/saccordion/README.md with the current master branch, I got an error.

💻 Repro or Code Sample

Example from doc

import { Accordion, accordionTemplate as template } from "@microsoft/fast-foundation";
import { accordionStyles as styles } from "./my-accordion.styles";

export const myAccordion = Accordion.compose({
    baseName: "accordion",
    template,
    styles,
});

🤔 Expected Behavior

tsc success.

😯 Current Behavior

error TS2305: Module '"@microsoft/fast-foundation"' has no exported member 'Accordion'

🔦 Context

Trying to update jupyter-ui-toolkit

🌍 Your Environment

janechu commented 3 months ago

Unfortunately @microsoft/fast-foundation is being deprecated, refer to #6955.