Skip to content

Commit

Permalink
upgrade for datefns 3
Browse files Browse the repository at this point in the history
  • Loading branch information
keremciu committed Dec 29, 2023
1 parent 222d80c commit f4be841
Show file tree
Hide file tree
Showing 10 changed files with 24,048 additions and 4,044 deletions.
5 changes: 2 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
["@babel/preset-react"]
],
"plugins": [
["@babel/plugin-proposal-class-properties"],
["@babel/plugin-proposal-export-default-from"],
"date-fns"
["@babel/plugin-transform-class-properties"],
["@babel/plugin-proposal-export-default-from"]
]
}

5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"eslint.enable": true,
"editor.tabSize": 2,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
"editor.tabSize": 2
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import Styled from 'rsg-components/Styled';
import Heading from 'rsg-components/Heading';
// Import default implementation from react-styleguidist using the full path
import DefaultSectionsRenderer from 'react-styleguidist/lib/client/rsg-components/Sections/SectionsRenderer';

Expand All @@ -15,7 +14,7 @@ const styles = ({ fontFamily, space }) => ({
},
});

export function SectionsRenderer({ classes, children }) {
function SectionsRenderer({ children }) {
return (
<div>
<DefaultSectionsRenderer>{children}</DefaultSectionsRenderer>
Expand Down
File renamed without changes.
Loading

0 comments on commit f4be841

Please sign in to comment.