Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📖 docs(amp-accordion): add readme docs for 1.0 amp-accordion #35976

Merged
merged 1 commit into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
27 changes: 27 additions & 0 deletions docs/spec/bento-common-props.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Common Props in Preact/React Bento Components

The following are common props that should be be supported in al Bento Preact/React Bento Components when possible.
kvchari marked this conversation as resolved.
Show resolved Hide resolved

## `as`

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

## `class` (Preact only)

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

## `className` (React only)

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.
Loading