feat[react]: Linting with eslint 9
This commit is contained in:
parent
14eab04d5b
commit
f69093b0dc
99 changed files with 1260 additions and 956 deletions
|
@ -10,11 +10,10 @@ import { Link as DefaultLink } from '@freesewing/react/components/Link'
|
|||
* @param {function} [props.Link = false] - An optional framework specific Link component
|
||||
* @param {JSX.Element} [props.children = []] - The component children to render inside the layout
|
||||
* @param {array} [props.crumbs = []] - Data for the breadcrumbs, see Breadcrumbs
|
||||
* @param {string} props.description - The page description
|
||||
* @param {string} props.title - The page title
|
||||
* @returns {JSX.Element}
|
||||
*/
|
||||
export const Layout = ({ children = [], crumbs = [], description, Link = false, title }) => {
|
||||
export const Layout = ({ children = [], crumbs = [], Link = false, title }) => {
|
||||
if (!Link) Link = DefaultLink
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue