From 4562c60cf284a97ae1fa861480b0916f5fb7c453 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 25 May 2021 16:11:54 +0200 Subject: ghost for adding keyframes :tada: --- components/icons.tsx | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/icons.tsx b/components/icons.tsx index f8d6668..ea73b26 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -116,11 +116,22 @@ export function PressureIcon() { } export function SlideKeyframe(props: { + type: slideTypes; + ghost?: boolean; + loopEnd?: boolean; +}) { + return
+ {props.ghost && } + +
; +} + +export function SlideKeyframeBackground(props: { type: slideTypes; loopEnd?: boolean; }) { return ; } + +export function SlideKeyframeOutline(props: { + type: slideTypes; + loopEnd?: boolean; +}) { + return + {{ + 'default': , + 'delay': , + 'speedChange': , + 'loop': !props.loopEnd + ? + : , + }[props.type]} + ; +} -- cgit v1.2.3