ExportSettingLayout.tsx 397 B

1234567891011121314151617181920
  1. interface IWidget {
  2. label?: string;
  3. content?: React.ReactNode;
  4. }
  5. const ExportSettingLayoutWidget = ({ label, content }: IWidget) => {
  6. return (
  7. <div
  8. style={{
  9. display: "flex",
  10. justifyContent: "space-between",
  11. marginBottom: 4,
  12. }}
  13. >
  14. <span>{label}</span>
  15. <span>{content}</span>
  16. </div>
  17. );
  18. };
  19. export default ExportSettingLayoutWidget;