import { memo } from "react";
import type { FC, ReactNode } from "react";

import resets from "../../_resets.module.css";
import { Unnamed8 } from "../unnamed8/unnamed8";
import classes from "./_Small.module.css";

interface Props {
  className?: string;
  text?: {
    Unnamed?: ReactNode;
  };
}
/* @figmaId 5403:2125 */
export const _Small: FC<Props> = memo(function _Small(props = {}) {
  return (
    <div className={`${resets.storybrainResets} ${classes.root}`}>
      <Unnamed8
        className={classes.unnamed2}
        text={{
          Unnamed: props.text?.unnamed || (
            <div className={classes.unnamed}>标签</div>
          ),
        }}
      />
    </div>
  );
});
