Skip to content

Commit

Permalink
docs(Card): move card view to demos section (patternfly#5671)
Browse files Browse the repository at this point in the history
* move card view to demos section

* update screenshots

* add screenshots command
  • Loading branch information
kmcfaul authored Apr 16, 2021
1 parent b8d9255 commit d5786eb
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
"test:a11y": "lerna run test:a11y --stream",
"test:integration": "yarn workspace @patternfly/react-integration test:integration",
"uninstall": "find . -name node_modules -type d | xargs rm -rf",
"watch": "yarn build:esm --watch"
"watch": "yarn build:esm --watch",
"screenshots": "yarn workspace @patternfly/react-docs screenshots"
},
"husky": {
"hooks": {
Expand Down
8 changes: 4 additions & 4 deletions packages/react-core/src/demos/Card/Card.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: Card
section: components
id: Card view
section: demos
---

import BellIcon from '@patternfly/react-icons/dist/js/icons/bell-icon';
Expand Down Expand Up @@ -526,7 +526,7 @@ class CardViewBasic extends React.Component {
areAllSelected,
isChecked,
page,
perPage,
perPage
} = this.state;

const toolbarKebabDropdownItems = [
Expand Down Expand Up @@ -766,7 +766,7 @@ class CardViewBasic extends React.Component {
))}
</Gallery>
</PageSection>
<PageSection isFilled={false} sticky="bottom" padding={{default: "noPadding"}} variant="light">
<PageSection isFilled={false} sticky="bottom" padding={{ default: 'noPadding' }} variant="light">
<Pagination
itemCount={this.state.totalItemCount}
page={page}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d5786eb

Please sign in to comment.