Captain is currently in ALPHA. We are happy to get your feedback
Core API
Quote Loop

Module: quote-loop

Table of contents

Functions

Functions

FadeBox

FadeBox(«destructured»): Element

Parameters

NameType
«destructured»Object
› childrenReactNode
› idstring

Returns

Element

Defined in

src/client/organisms/quote-loop/index.tsx:14 (opens in a new tab)


QuoteLoop

QuoteLoop(): Element

Returns

Element

Defined in

src/client/organisms/quote-loop/index.tsx:90 (opens in a new tab)


StyledMotionDiv

StyledMotionDiv(props, deprecatedLegacyContext?): ReactNode

Parameters

NameTypeDescription
propsHTMLAttributesWithoutMotionProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> & MotionProps & RefAttributes<HTMLDivElement> & MUIStyledCommonProps<Theme>-
deprecatedLegacyContext?anyDeprecated See React Docs (opens in a new tab)

Returns

ReactNode

Defined in

src/client/organisms/quote-loop/index.tsx:7 (opens in a new tab)


useNumberRotation

useNumberRotation(end, «destructured»?): number

Parameters

NameTypeDefault value
endnumberundefined
«destructured»Object{}
› intervalundefined | number1000
› loopundefined | booleanfalse

Returns

number

Defined in

src/client/organisms/quote-loop/index.tsx:30 (opens in a new tab)