MCPcopy
hub / github.com/beekai-oss/react-simple-animate / createStyle

Function createStyle

src/logic/createStyle.ts:26–34  ·  view source on GitHub ↗
({
  keyframes,
  animationName,
}: {
  keyframes: Keyframes;
  animationName: string;
})

Source from the content-addressed store, hash-verified

24};
25
26export default function createStyle({
27 keyframes,
28 animationName,
29}: {
30 keyframes: Keyframes;
31 animationName: string;
32}): string {
33 return `@keyframes ${animationName} {${generateKeyframes(keyframes)}}`;
34}

Callers 2

createTagFunction · 0.85

Calls 1

generateKeyframesFunction · 0.85

Tested by

no test coverage detected