File tree 2 files changed +5
-3
lines changed
packages/display-react/types
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ function App() {
27
27
28
28
## Props
29
29
30
+ > If needed, you can find more details in the [ types declaration] ( ../packages/display-react/types/index.d.ts )
31
+
30
32
` displayProps ` can receive the following data:
31
33
32
34
### Common props
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ type onFilter = (filter: Filter) => void;
8
8
type onChangeScene = ( scene : { products : Product [ ] } ) => void ;
9
9
type onChangeProduct = ( productChange : { prevProduct : Product , nextProduct : Product } ) => void ;
10
10
11
- enum Language {
11
+ export enum Language {
12
12
'fr-FR' = 'fr-FR' ,
13
13
'en-US' = 'en-US'
14
14
}
@@ -36,11 +36,11 @@ type DisplayBaseProps = {
36
36
language ?: Language ,
37
37
}
38
38
39
- type DisplayIdProps = {
39
+ export type DisplayIdProps = {
40
40
displayid : String ;
41
41
} & DisplayBaseProps
42
42
43
- type DisplayUrlProps = {
43
+ export type DisplayUrlProps = {
44
44
displayurl : String ;
45
45
} & DisplayBaseProps
46
46
You can’t perform that action at this time.
0 commit comments