Skip to content

Commit

Permalink
docs(amp-accordion): add readme docs for 1.0 amp-accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
kvchari committed Sep 8, 2021
1 parent f8065bc commit 2fb0049
Show file tree
Hide file tree
Showing 4 changed files with 653 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/spec/amp-html-responsive-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ The following `amp-base-carousel` will show `3` slides at a time when width is g

You may apply responsive attribute values to the following components:

- [amp-accordion](./../extensions/amp-accordion/amp-accordion.md#animate)
- [amp-base-carousel](./../extensions/amp-base-carousel/amp-base-carousel.md#media-queries)
- [amp-fit-text](./../extensions/amp-fit-text/amp-fit-text.md#media-queries)
- [amp-inline-gallery-pagination](./../extensions/amp-inline-gallery/amp-inline-gallery.md#include-pagination-indicators)
- [amp-inline-gallery-thumbnails](./../extensions/amp-inline-gallery/amp-inline-gallery.md#include-pagination-thumbnails)
- [amp-lightbox](./../extensions/amp-lightbox/amp-lightbox.md#animation)
- [amp-selector](./../extensions/amp-selector/amp-selector.md#keyboard-select-mode)
- [amp-stream-gallery](./../extensions/amp-stream-gallery/amp-stream-gallery.md#media-queries)
- [amp-video](./../extensions/amp-video/amp-video.md#rotate-to-fullscreen)
- [amp-accordion](./../../extensions/amp-accordion/amp-accordion.md#animate)
- [amp-base-carousel](./../../extensions/amp-base-carousel/amp-base-carousel.md#media-queries)
- [amp-fit-text](./../../extensions/amp-fit-text/amp-fit-text.md#media-queries)
- [amp-inline-gallery-pagination](./../../extensions/amp-inline-gallery/amp-inline-gallery.md#include-pagination-indicators)
- [amp-inline-gallery-thumbnails](./../../extensions/amp-inline-gallery/amp-inline-gallery.md#include-pagination-thumbnails)
- [amp-lightbox](./../../extensions/amp-lightbox/amp-lightbox.md#animation)
- [amp-selector](./../../extensions/amp-selector/amp-selector.md#keyboard-select-mode)
- [amp-stream-gallery](./../../extensions/amp-stream-gallery/amp-stream-gallery.md#media-queries)
- [amp-video](./../../extensions/amp-video/amp-video.md#rotate-to-fullscreen)
21 changes: 21 additions & 0 deletions docs/spec/bento-common-props.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Common Props in Preact/React Bento Components

## `as`

Allows consumer to customize the html tag that is used to implement a component.

## `class`

Allows consumer to add class(es) to the given component.

## `id`

Allows consumer to set the `id` attribute on the given component.

## `role`

Allows consumer to set the `role` attribute on the given component to control accessibility characteristics.

## `tabindex`

Allows consumer to set the `tabindex` attribute on the given component to control tab order.

0 comments on commit 2fb0049

Please sign in to comment.