src
4 years ago
badges.stories.js
4 years ago
components.stories.js
4 years ago
examples.stories.js
4 years ago
icons.stories.js
4 years ago
items.stories.js
4 years ago
icons.stories.js
47 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 | ` |
| 11 | <img class="icon" src="` + |
| 12 | paypal + |
| 13 | `" alt="PayPal"> |
| 14 | `; |
| 15 | |
| 16 | import stripe from '../../../../../../../assets/dist/images/setup-page/stripe@2x.min.png'; |
| 17 | export const stripeIcon = () => |
| 18 | ` |
| 19 | <img class="icon" src="` + |
| 20 | stripe + |
| 21 | `" alt="Stripe"> |
| 22 | `; |
| 23 | |
| 24 | import addons from '../../../../../../../assets/dist/images/setup-page/addons@2x.min.png'; |
| 25 | export const addonsIcon = () => |
| 26 | ` |
| 27 | <img class="icon" src="` + |
| 28 | addons + |
| 29 | `" alt="addons"> |
| 30 | `; |
| 31 | |
| 32 | import configuration from '../../../../../../../assets/dist/images/setup-page/configuration@2x.min.png'; |
| 33 | export const configurationIcon = () => |
| 34 | ` |
| 35 | <img class="icon" src="` + |
| 36 | configuration + |
| 37 | `" alt="configuration"> |
| 38 | `; |
| 39 | |
| 40 | import givewp101 from '../../../../../../../assets/dist/images/setup-page/givewp101@2x.min.png'; |
| 41 | export const givewp101Icon = () => |
| 42 | ` |
| 43 | <img class="icon" src="` + |
| 44 | givewp101 + |
| 45 | `" alt="GiveWP 101"> |
| 46 | `; |
| 47 |