organizationSettingsLayout.tsx 566 B

123456789101112131415161718
  1. import type {RouteComponentProps} from 'sentry/types/legacyReactRouter';
  2. import SettingsLayout from 'sentry/views/settings/components/settingsLayout';
  3. import OrganizationSettingsNavigation from 'sentry/views/settings/organization/organizationSettingsNavigation';
  4. type Props = RouteComponentProps<{}, {}> & {
  5. children: React.ReactNode;
  6. };
  7. function OrganizationSettingsLayout(props: Props) {
  8. return (
  9. <SettingsLayout
  10. {...props}
  11. renderNavigation={() => <OrganizationSettingsNavigation />}
  12. />
  13. );
  14. }
  15. export default OrganizationSettingsLayout;