Renamed ShapeResizer to MatchSizes

This commit is contained in:
2025-03-07 23:34:46 +01:00
parent ca8b22510e
commit e4589ee252
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import * as React from "react";
import { useEffect, useState } from "react";
import ShapeResizer from "./ShapeResizer";
import MatchSizes from "./MatchSizes";
import { makeStyles, Text, Subtitle1, tokens, Theme } from "@fluentui/react-components";
interface AppProps {
@@ -59,7 +59,7 @@ const App: React.FC<AppProps> = () => {
<Subtitle1 block className={styles.sectionTitle}>
Shape Tools
</Subtitle1>
<ShapeResizer />
<MatchSizes />
</div>
<div className={styles.footer}>
@@ -65,7 +65,7 @@ const useStyles = makeStyles({
},
});
export const ShapeResizer: React.FC = () => {
export const MatchSizes: React.FC = () => {
const styles = useStyles();
const [statusMessage, setStatusMessage] = React.useState("");
const [statusType, setStatusType] = React.useState<"info" | "success" | "warning" | "error">("info");
@@ -175,4 +175,4 @@ export const ShapeResizer: React.FC = () => {
);
};
export default ShapeResizer;
export default MatchSizes;