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

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

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