@financial-times/n-myft-ui 25.0.1 → 27.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import FollowButton from '../../components/follow-button/follow-button';
3
-
4
- export default function Demo (props) {
5
-
6
- const {
7
- title,
8
- flags,
9
- followButton,
10
- } = props;
11
-
12
- const followButtonProps = {...followButton, flags};
13
-
14
- return (
15
- <div className="o-grid-container o-grid-container--snappy demo-container">
16
- <h1>{title}</h1>
17
-
18
- <section
19
- id="follow-button"
20
- className="demo-section">
21
- <div className="o-grid-row">
22
- <div data-o-grid-colspan="12">
23
- <h2
24
- className="demo-section__title">
25
- Follow button
26
- </h2>
27
- <FollowButton {...followButtonProps} />
28
- </div>
29
- </div>
30
- </section>
31
- </div>
32
- )
33
- }
package/jest.config.js DELETED
@@ -1,8 +0,0 @@
1
- module.exports = {
2
- transform: {
3
- '.(js|jsx)': '@sucrase/jest-plugin',
4
- },
5
- testEnvironment: 'jest-environment-jsdom',
6
- modulePathIgnorePatterns: ['node_modules', 'bower_components'],
7
- testMatch: ['<rootDir>/components/**/*.test.js']
8
- };