How to use the terra-application/lib/disclosure-manager.withDisclosureManager function in terra-application

To help you get started, we’ve selected a few terra-application examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerner / terra-dev-site / src / test-extension / TestExtension.jsx View on Github external
header={(
      
    )}
    fill
  >
    
  
);

TestExtension.propTypes = propTypes;

export default withDisclosureManager(TestExtension);
github cerner / terra-dev-site / src / navigation / _SettingsPicker.jsx View on Github external
}}
            >
              {config.directions.map(value => (
                
              ))}
            
          ) : undefined}
        
      
    );
  }
}

SettingsPicker.propTypes = propTypes;

export default withAppSettings(withDisclosureManager(SettingsPicker));
github cerner / terra-dev-site / src / navigation / _DevSiteNavigation.jsx View on Github external
notFoundComponent={}
                settingsConfig={settingsConfig}
                capabilities={capabilities}
              />
            ),
          })
        }
      
    );
  }
}

DevSiteNavigation.propTypes = propTypes;
DevSiteNavigation.defaultProps = defaultProps;

export default withDisclosureManager(withRouter(DevSiteNavigation));
github cerner / terra-dev-site / src / navigation / _ApplicationSwitcher.jsx View on Github external
)}
    fill
  >
    
      {apps.map(app => (
        
          {app.title}
        
      ))}
    
  
);

ApplicationSwitcher.propTypes = propTypes;

export default withDisclosureManager(ApplicationSwitcher);
github cerner / terra-dev-site / src / search / _Search.jsx View on Github external
isSelectable
              metaData={result}
              onSelect={(event, metaData) => handleSelect(metaData, onItemSelected, disclosureManager)}
            >
              {searchItem(result)}
            
          ))
        }
      
    
  );
};

Search.propTypes = propTypes;

export default withDisclosureManager(Search);
github cerner / terra-ui / src / terra-dev-site / IssueForm / Index.jsx View on Github external
key="Submit"
                  type="submit"
                  isDisabled={submitting || pristine}
                />
              
            
          )}
        />
      
    
  );
};

IssueForm.propTypes = propTypes;

export default withDisclosureManager(IssueForm);

terra-application

A framework to support application development with Terra components

Apache-2.0
Latest version published 6 days ago

Package Health Score

84 / 100
Full package analysis