Skip to content

Commit f4be841

Browse files
committed
upgrade for datefns 3
1 parent 222d80c commit f4be841

File tree

10 files changed

+24048
-4044
lines changed

10 files changed

+24048
-4044
lines changed

.babelrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
["@babel/preset-react"]
55
],
66
"plugins": [
7-
["@babel/plugin-proposal-class-properties"],
8-
["@babel/plugin-proposal-export-default-from"],
9-
"date-fns"
7+
["@babel/plugin-transform-class-properties"],
8+
["@babel/plugin-proposal-export-default-from"]
109
]
1110
}
1211

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"eslint.enable": true,
3-
"editor.tabSize": 2,
4-
"editor.codeActionsOnSave": {
5-
"source.fixAll.eslint": true
6-
}
3+
"editor.tabSize": 2
74
}
File renamed without changes.

demo/components/SectionsRenderer.js renamed to demo/components/SectionsRenderer.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33
import Styled from 'rsg-components/Styled';
4-
import Heading from 'rsg-components/Heading';
54
// Import default implementation from react-styleguidist using the full path
65
import DefaultSectionsRenderer from 'react-styleguidist/lib/client/rsg-components/Sections/SectionsRenderer';
76

@@ -15,7 +14,7 @@ const styles = ({ fontFamily, space }) => ({
1514
},
1615
});
1716

18-
export function SectionsRenderer({ classes, children }) {
17+
function SectionsRenderer({ children }) {
1918
return (
2019
<div>
2120
<DefaultSectionsRenderer>{children}</DefaultSectionsRenderer>
File renamed without changes.

0 commit comments

Comments
 (0)