| 1258 | |
| 1259 | export const getBackgroundById = id => BACKGROUNDS.find(bg => bg.id === id); |
| 1260 | export const getDefaultProps = background => { |
| 1261 | if (!background?.props) return {}; |
| 1262 | return background.props.reduce((acc, prop) => { |
| 1263 | acc[prop.name] = prop.default; |
| 1264 | return acc; |
| 1265 | }, {}); |
| 1266 | }; |
| 1267 | |
| 1268 | const ANIMATION_IDS = [ |
| 1269 | 'antigravity', |
no outgoing calls
no test coverage detected