Skip to content

🎥 Make videos programmatically with React

add some TODO comments

Jonny Burger1b317488ef69
diff --git a/packages/cli/src/editor/components/InlineAction.tsx b/packages/cli/src/editor/components/InlineAction.tsx
index 9a8285031e..ee47273de7 100644
--- a/packages/cli/src/editor/components/InlineAction.tsx
+++ b/packages/cli/src/editor/components/InlineAction.tsx
@@ -30,6 +30,7 @@ export const InlineAction: React.FC<
justifyContent: 'center',
alignItems: 'center',
borderRadius: 3,
+ // TODO: Color does not get propagated to the children
color: hovered ? 'white' : LIGHT_TEXT,
};
}, [hovered]);
diff --git a/packages/cli/src/editor/components/RenderButton.tsx b/packages/cli/src/editor/components/RenderButton.tsx
index 346c5e75dc..2064333cbe 100644
--- a/packages/cli/src/editor/components/RenderButton.tsx
+++ b/packages/cli/src/editor/components/RenderButton.tsx
@@ -87,6 +87,7 @@ export const RenderButton: React.FC<{
return null;
}
+ // TODO: Here in the sidebar the thin rocket icon looked better
return (
<InlineAction onClick={onClick}>
<RenderIcon svgProps={iconStyle} />
diff --git a/packages/cli/src/editor/components/RenderModal/InlineRemoveButton.tsx b/packages/cli/src/editor/components/RenderModal/InlineRemoveButton.tsx
index f19522007e..ce909c25c8 100644
--- a/packages/cli/src/editor/components/RenderModal/InlineRemoveButton.tsx
+++ b/packages/cli/src/editor/components/RenderModal/InlineRemoveButton.tsx
@@ -1,9 +1,7 @@
-import {LIGHT_TEXT} from '../../helpers/colors';
import {InlineAction} from '../InlineAction';
const clearIcon: React.CSSProperties = {
height: 14,
- color: LIGHT_TEXT,
};
export const InlineRemoveButton: React.FC<{