import { Component } from 'solid-js'; import type { JSX } from 'solid-js'; import { genSVGCubicBezier } from '../util'; export const MainCircle: Component<{ fill: string }> = (props) => { const publicProps: JSX.AnimateSVGAttributes = { dur: '0.35s', begin: '100ms', fill: 'freeze', calcMode: 'spline', keyTimes: '0; 0.6; 1', keySplines: '0.25 0.71 0.4 0.88; .59 .22 .87 .63', }; return ( ); }; export const SecondaryCircle: Component<{ fill: string; begin?: string }> = (props) => { const publicProps: JSX.AnimateSVGAttributes = { dur: '1s', begin: props.begin || '320ms', fill: 'freeze', ...genSVGCubicBezier('0.0 0.0 0.2 1'), }; return ( ); };