<commit_before>import React from "react";
import { MarginProps } from "styled-system";
import tagComponent from "../../__internal__/utils/helpers/tags/tags";
import StyledLoaderBar, {
  InnerBar,
  StyledLoader,
  StyledLoaderBarProps,
} from "./loader-bar.style";

export interface LoaderBarProps extends StyledLoaderBarProps, MarginProps {}

const LoaderBar = ({ size = "medium", ...rest }: LoaderBarProps) => {
  return (
    <StyledLoader {...rest} {...tagComponent("loader-bar", rest)}>
      <StyledLoaderBar size={size}>
        <InnerBar size={size} />
      </StyledLoaderBar>
    </StyledLoader>
  );
};

export default LoaderBar;<commit_msg>docs(loader-bar): ensure prop table displays in docs<commit_after>import React from "react";
import { MarginProps } from "styled-system";
import tagComponent from "../../__internal__/utils/helpers/tags/tags";
import StyledLoaderBar, {
  InnerBar,
  StyledLoader,
  StyledLoaderBarProps,
} from "./loader-bar.style";

export interface LoaderBarProps extends StyledLoaderBarProps, MarginProps {}

export const LoaderBar = ({ size = "medium", ...rest }: LoaderBarProps) => {
  return (
    <StyledLoader {...rest} {...tagComponent("loader-bar", rest)}>
      <StyledLoaderBar size={size}>
        <InnerBar size={size} />
      </StyledLoaderBar>
    </StyledLoader>
  );
};

LoaderBar.DisplayName = "Loader Bar";
export default LoaderBar;
{'fraction_non_alphanumeric': 0.14769452449567724, 'fraction_numerical': 0.0, 'mean_word_length': 4.144444444444445, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6196413', 'n_tokens_mistral': 445, 'n_tokens_neox': 428, 'n_words': 99}