MUI Docs Infra

Warning

This is an internal project, and is not intended for public use. No support or stability guarantees are provided.

ComponentRoot

A simple component that displays a title and optional children.

PropTypeDescription
title
string

The title to display

disabled
boolean | undefined

Whether the component is disabled

children
React.ReactNode | undefined

Child elements

ComponentPart

A simple component that displays a title and optional children.

PropTypeDescription
title
string

The title to display

disabled
boolean | undefined

Whether the component is disabled

children
React.ReactNode | undefined

Child elements

import * as React from 'react';
import { TypesComponent as ComponentTypes } from './types';

export function TypesComponent() {
  return (
    <div>
      <h3>ComponentRoot</h3>
      <ComponentTypes.Root />
      <h3>ComponentPart</h3>
      <ComponentTypes.Part />
    </div>
  );
}