MCPcopy
hub / github.com/midudev/preguntas-entrevista-react / Settings

Interface Settings

app/components/BookCover.tsx:3–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { ReactNode } from 'react'
2
3export interface Settings {
4 /**
5 * Rotation of the book, in degrees.
6 */
7 rotate: number
8 /**
9 * Rotation of the book on hover, in degrees.
10 */
11 rotateHover: number
12 /**
13 * Perspective value. 600 seems to be a realistic value.
14 */
15 perspective: number
16 /**
17 * Duration of rotate animation, in milliseconds.
18 */
19 transitionDuration: number
20 /**
21 * Radius of right corners, in pixels.
22 */
23 radius: number
24 /**
25 * Book thickness, in pixels.
26 */
27 thickness: number
28 /**
29 * Color of the inside of back cover.
30 */
31 bgColor: string
32 /**
33 * Color of box shadow.
34 */
35 shadowColor: string
36 /**
37 * Width of the book, in pixels.
38 */
39 width: number
40 /**
41 * Height of the book, in pixels.
42 */
43 height: number
44 /**
45 * Offset between the pages and the cover size, in pixels.
46 */
47 pagesOffset: number
48}
49
50export interface Props extends Partial<Settings> {
51 children: ReactNode

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected