File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed
packages/react-renderer-demo/src/app/src Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import GenericComponentText from './examples-texts/generic-mui-component';
3
3
import TabsText from './examples-texts/tabs' ;
4
4
import CustomComponentText from './examples-texts/custom-component' ;
5
5
import WizardText from './examples-texts/wizard' ;
6
+ import SelectText from './examples-texts/select' ;
6
7
7
8
export const baseExamples = [ {
8
9
component : componentTypes . TEXT_FIELD ,
@@ -125,7 +126,7 @@ export const baseExamples = [{
125
126
component : componentTypes . SELECT_COMPONENT ,
126
127
link : `?component=${ componentTypes . SELECT_COMPONENT } ` ,
127
128
linkText : 'Select' ,
128
- ContentText : GenericComponentText ,
129
+ ContentText : SelectText ,
129
130
canBeRequired : true ,
130
131
value : { fields : [ {
131
132
component : componentTypes . SELECT_COMPONENT ,
Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
2
+ import GenericComponentText from './generic-mui-component' ;
3
+ import Pf3Select from '@docs/doc-components/pf3-select.md' ;
4
+ import Pf4Select from '@docs/doc-components/pf4-select.md' ;
5
+
6
+ export default ( { activeMapper } ) => activeMapper === 'pf3' ? < Pf3Select /> : activeMapper === 'pf4' ? < Pf4Select /> : < GenericComponentText /> ;
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments