Create all components
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
LinkSettings,
|
||||
VideoSettings,
|
||||
TransformSettings,
|
||||
GridSettings,
|
||||
} from "./settings";
|
||||
|
||||
type ObjectSettingsProps = {
|
||||
@@ -60,6 +61,10 @@ const ObjectSettings = ({ selectedObject, onUpdate, onDelete }: ObjectSettingsPr
|
||||
/>
|
||||
)}
|
||||
|
||||
{selectedObject.type === "grid" && (
|
||||
<GridSettings selectedObject={selectedObject} onUpdate={onUpdate} />
|
||||
)}
|
||||
|
||||
<TransformSettings selectedObject={selectedObject} onUpdate={onUpdate} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user