Skip to content

Commit

Permalink
feat: adds accordion config to component explorer (#3276)
Browse files Browse the repository at this point in the history
* acordion config

* latest

* more work

* more work

* feat: add accordion example to component explorer

* adds heading level

* fixed linting errors

* changed textSchema import
  • Loading branch information
eljefe223 authored Jun 11, 2020
1 parent 66ce1ad commit 5e972ca
Show file tree
Hide file tree
Showing 15 changed files with 1,157 additions and 262 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```ts

import { Accordion } from '@microsoft/fast-foundation';
import { AccordionItem } from '@microsoft/fast-foundation';
import { Anchor } from '@microsoft/fast-foundation';
import { Badge } from '@microsoft/fast-foundation';
import { BaseProgress } from '@microsoft/fast-foundation';
Expand Down Expand Up @@ -35,6 +36,10 @@ export type BadgeAppearance = "accent" | "lightweight" | "neutral" | string;
export class FASTAccordion extends Accordion {
}

// @public (undocumented)
export class FASTAccordionItem extends AccordionItem {
}

// @public (undocumented)
export class FASTAnchor extends Anchor {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { customElement } from "@microsoft/fast-element";
import { Accordion, AccordionTemplate as template } from "@microsoft/fast-foundation";
import { AccordionStyles as styles } from "./accordion.styles";

export * from "./accordion-item/index";

@customElement({
name: "fast-accordion",
template,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```ts

import { Accordion } from '@microsoft/fast-foundation';
import { AccordionItem } from '@microsoft/fast-foundation';
import { Anchor } from '@microsoft/fast-foundation';
import { Badge } from '@microsoft/fast-foundation';
import { BaseProgress } from '@microsoft/fast-foundation';
Expand Down Expand Up @@ -35,6 +36,10 @@ export type BadgeAppearance = "accent" | "lightweight" | "neutral" | string;
export class FASTAccordion extends Accordion {
}

// @public (undocumented)
export class FASTAccordionItem extends AccordionItem {
}

// @public (undocumented)
export class FASTAnchor extends Anchor {
}
Expand Down
Loading

0 comments on commit 5e972ca

Please sign in to comment.