Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.6.3

Airy

Airyは、2つの要素をふわっと切り替えるアニメーションを提供するコンポーネントです。

ソース@yamada-ui/transitions

Props

AiryProps

from

必須

説明

Passing React elements to "from" is required.

タイプ

ReactElement<any, string | JSXElementConstructor<any>>

to

必須

説明

Passing React elements to "to" is required.

タイプ

ReactElement<any, string | JSXElementConstructor<any>>

as

説明

The HTML element to render.

タイプ

"symbol" | "object" | "clipPath" | "filter" | "g" | "marker" | "mask" | "p" | "text" | "style" | "animate" | "button" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | ... 149 more ... | "textPath"

colorScheme

説明

The visual color appearance of the component.

タイプ

"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"

defaultValue

説明

You can set the initial state.

タイプ

AiryIdent

デフォルト

'from'

delay

説明

 The animation delay.

タイプ

number

デフォルト

0

duration

説明

The animation duration.

タイプ

number

デフォルト

0.2

isDisabled

説明

If true, the component is disabled.

タイプ

boolean

デフォルト

false

isReadOnly

説明

If true, the component is readonly.

タイプ

boolean

デフォルト

false

onChange

説明

This is a callback function that is called when the animation state changes.

タイプ

(value: AiryIdent) => void

size

説明

The size of the Airy.

タイプ

string

value

説明

Use this when you want to control the animation from outside the component.

タイプ

AiryIdent

variant

説明

The variant of the Airy.

タイプ

string

GitHubでこのページを編集する

トランジションCollapse