src
5 years ago
badges.stories.js
5 years ago
components.stories.js
5 years ago
examples.stories.js
5 years ago
icons.stories.js
5 years ago
items.stories.js
5 years ago
icons.stories.js
32 lines
| 1 | import { withA11y } from '@storybook/addon-a11y'; |
| 2 | |
| 3 | export default { |
| 4 | title: 'Setup Page/Icons', |
| 5 | decorators: [ withA11y ], |
| 6 | }; |
| 7 | |
| 8 | import paypal from '../../../../../../../assets/dist/images/setup-page/paypal@2x.min.png'; |
| 9 | export const paypalIcon = () => ` |
| 10 | <img class="icon" src="` + paypal + `" alt="PayPal"> |
| 11 | `; |
| 12 | |
| 13 | import stripe from '../../../../../../../assets/dist/images/setup-page/stripe@2x.min.png'; |
| 14 | export const stripeIcon = () => ` |
| 15 | <img class="icon" src="` + stripe + `" alt="Stripe"> |
| 16 | `; |
| 17 | |
| 18 | import addons from '../../../../../../../assets/dist/images/setup-page/addons@2x.min.png'; |
| 19 | export const addonsIcon = () => ` |
| 20 | <img class="icon" src="` + addons + `" alt="addons"> |
| 21 | `; |
| 22 | |
| 23 | import configuration from '../../../../../../../assets/dist/images/setup-page/configuration@2x.min.png'; |
| 24 | export const configurationIcon = () => ` |
| 25 | <img class="icon" src="` + configuration + `" alt="configuration"> |
| 26 | `; |
| 27 | |
| 28 | import givewp101 from '../../../../../../../assets/dist/images/setup-page/givewp101@2x.min.png'; |
| 29 | export const givewp101Icon = () => ` |
| 30 | <img class="icon" src="` + givewp101 + `" alt="GiveWP 101"> |
| 31 | `; |
| 32 |