Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
TextRight.js 407 B
Newer Older
Christophe Chaudier's avatar
Christophe Chaudier committed
/* eslint-disable react/prop-types */
import React from "react";
Christophe Chaudier's avatar
Christophe Chaudier committed
import useBaseUrl from "@docusaurus/useBaseUrl";

export default function TextRight({children, img}) {
  return (
    <>
      <div className="row">
        <div className="col col--6">
          <img src={useBaseUrl(img)} />
        </div>
        <div className="col col--6">
          {children}
        </div>
      </div>
    </>
  );
}