Hiyve Components - v1.0.0
    Preparing search index...

    Function buildDefaultFileCommentsPanelColors

    • Build the default color palette for the FileCommentsPanel from a MUI theme.

      Parameters

      • theme: Theme

      Returns FileCommentsPanelColors

      import { useTheme } from '@mui/material/styles';
      import { buildDefaultFileCommentsPanelColors } from '@hiyve/react-collaboration';

      const theme = useTheme();
      const colors = buildDefaultFileCommentsPanelColors(theme);