Use a better notation for exporting JS components and functions

This commit is contained in:
Deluan
2020-11-10 19:27:28 -05:00
parent 8a44f61189
commit 9d2426a601
37 changed files with 112 additions and 188 deletions
+2 -4
View File
@@ -1,9 +1,9 @@
import React from 'react'
import { List as RAList } from 'react-admin'
import Pagination from './Pagination'
import { Pagination } from './Pagination'
import { Title } from './index'
const List = (props) => {
export const List = (props) => {
const { resource } = props
return (
<RAList
@@ -19,5 +19,3 @@ const List = (props) => {
/>
)
}
export default List