Skip to content

Commit 31c27fc

Browse files
committed
Add application entry point documentation back.
1 parent 3cff4f7 commit 31c27fc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/App.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
import { CRM } from "@/atomic-crm/root/CRM";
22

3+
/**
4+
* Application entry point
5+
*
6+
* Customize Atomic CRM by passing props to the CRM component:
7+
* - contactGender
8+
* - companySectors
9+
* - darkTheme
10+
* - dealCategories
11+
* - dealPipelineStatuses
12+
* - dealStages
13+
* - lightTheme
14+
* - logo
15+
* - noteStatuses
16+
* - taskTypes
17+
* - title
18+
* ... as well as all the props accepted by react-admin's <Admin> component.
19+
*
20+
* @example
21+
* const App = () => (
22+
* <CRM
23+
* logo="./img/logo.png"
24+
* title="Acme CRM"
25+
* />
26+
* );
27+
*/
328
const App = () => <CRM />;
429

530
export default App;

0 commit comments

Comments
 (0)