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';
33import TabsText from './examples-texts/tabs' ;
44import CustomComponentText from './examples-texts/custom-component' ;
55import WizardText from './examples-texts/wizard' ;
6+ import SelectText from './examples-texts/select' ;
67
78export const baseExamples = [ {
89 component : componentTypes . TEXT_FIELD ,
@@ -125,7 +126,7 @@ export const baseExamples = [{
125126 component : componentTypes . SELECT_COMPONENT ,
126127 link : `?component=${ componentTypes . SELECT_COMPONENT } ` ,
127128 linkText : 'Select' ,
128- ContentText : GenericComponentText ,
129+ ContentText : SelectText ,
129130 canBeRequired : true ,
130131 value : { fields : [ {
131132 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