forked from marmelab/react-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request marmelab#10140 from marmelab/atomic-crm-backport
Feat(demo): Backport Atomic CRM to RA repo
- Loading branch information
Showing
88 changed files
with
2,214 additions
and
863 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
import { CRM } from './root/CRM'; | ||
import { | ||
defaultCompanySectors, | ||
defaultContactGender, | ||
defaultDealCategories, | ||
defaultDealStages, | ||
defaultLogo, | ||
defaultNoteStatuses, | ||
defaultTaskTypes, | ||
defaultTitle, | ||
} from './root/defaultConfiguration'; | ||
|
||
const App = () => ( | ||
<CRM | ||
contactGender={defaultContactGender} | ||
companySectors={defaultCompanySectors} | ||
dealCategories={defaultDealCategories} | ||
dealStages={defaultDealStages} | ||
logo={defaultLogo} | ||
noteStatuses={defaultNoteStatuses} | ||
taskTypes={defaultTaskTypes} | ||
title={defaultTitle} | ||
/> | ||
); | ||
/** | ||
* Application entry point | ||
* | ||
* Customize Atomic CRM by passing props to the CRM component: | ||
* - contactGender | ||
* - companySectors | ||
* - darkTheme | ||
* - dealCategories | ||
* - dealPipelineStatuses | ||
* - dealStages | ||
* - lightTheme | ||
* - logo | ||
* - noteStatuses | ||
* - taskTypes | ||
* - title | ||
* ... as well as all the props accepted by react-admin's <Admin> component. | ||
* | ||
* @example | ||
* const App = () => ( | ||
* <CRM | ||
* logo="./img/logo.png" | ||
* title="Acme CRM" | ||
* /> | ||
* ); | ||
*/ | ||
const App = () => <CRM />; | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.