atomic-spinner
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -10,9 +10,9 @@ import * as React from 'react'; | ||
export declare function Nucleus({ particleFillColor, particleBorderColor, particleCount, particleSize, distanceFromCenter }: NucleusProps): JSX.Element; | ||
export declare type ElectronPathProps = { | ||
export interface ElectronPathProps { | ||
color: string; | ||
width: number; | ||
rotationAngle: number; | ||
}; | ||
} | ||
export declare function ElectronPath({ color, width, rotationAngle }: ElectronPathProps): JSX.Element; | ||
export declare type ElectronProps = { | ||
export interface ElectronProps { | ||
rotationAngle: number; | ||
@@ -23,22 +23,22 @@ orbitTime: number; | ||
colorPalette: string[]; | ||
}; | ||
} | ||
export declare function Electron({ rotationAngle, orbitTime, spacetimeOffset, size, colorPalette }: ElectronProps): JSX.Element; | ||
export declare type AtomicSpinnerProps = { | ||
atomSize: number; | ||
displayElectronPaths: boolean; | ||
displayNucleus: boolean; | ||
electronColorPalette: string[]; | ||
electronPathCount: number; | ||
electronPathColor: string; | ||
electronPathWidth: number; | ||
electronsPerPath: number; | ||
electronSize: number; | ||
nucleusParticleFillColor: string; | ||
nucleusParticleBorderColor: string; | ||
nucleusParticleCount: number; | ||
nucleusParticleSize: number; | ||
nucleusDistanceFromCenter: number; | ||
}; | ||
export interface AtomicSpinnerProps { | ||
atomSize?: number; | ||
displayElectronPaths?: boolean; | ||
displayNucleus?: boolean; | ||
electronColorPalette?: string[]; | ||
electronPathCount?: number; | ||
electronPathColor?: string; | ||
electronPathWidth?: number; | ||
electronsPerPath?: number; | ||
electronSize?: number; | ||
nucleusParticleFillColor?: string; | ||
nucleusParticleBorderColor?: string; | ||
nucleusParticleCount?: number; | ||
nucleusParticleSize?: number; | ||
nucleusDistanceFromCenter?: number; | ||
} | ||
declare function AtomicSpinner({ atomSize, displayElectronPaths, displayNucleus, electronColorPalette, electronPathCount, electronPathColor, electronPathWidth, electronsPerPath, electronSize, nucleusParticleFillColor, nucleusParticleBorderColor, nucleusParticleCount, nucleusParticleSize, nucleusDistanceFromCenter }: AtomicSpinnerProps): JSX.Element; | ||
declare const _default: React.MemoExoticComponent<typeof AtomicSpinner>; | ||
export default _default; |
{ | ||
"name": "atomic-spinner", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Loading spinner that looks like an atom", | ||
@@ -5,0 +5,0 @@ "author": "David Lounsbrough", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13336