SuperdindaDocs
Navigation

PersonSwitcher

Playground

Um preset por valor do primeiro eixo do Figma. Mude as props; dsState força hover, foco ou pressionado, como na matriz.

Person Switcher

Variantes, tamanhos e estados

Cada célula é o componente real, marcada com a variante do Figma que reproduz (passe o mouse pra ver o node).

Person Switcher ·

Person Switcher
LiaProtegendoHelenaPrecisa de vocêMarleneSem conexão
Adicionar

Props

As props que o arquivo do DS declara. O componente também repassa as do primitivo (base-ui), quando ele tem um.

PersonSwitcherRootProps

PropTipoPadrãoDescrição
string—
ReactNode—

PersonSwitcherItemProps

PropTipoPadrãoDescrição
string—Figma `name`.
string—Avatar initials (the exposed Avatar), two letters.
PersonStatus—Figma `Status`.
string—The status word, when the screen words it differently.
string—

PersonSwitcherAddProps

PropTipoPadrãoDescrição
ReactElement<unknown, string | React.JSXElementConstructor<any>>—The router's link, e.g. `render={<NextLink href="/familia/adicionar" />}`.
string—
ReactNode"Adicionar"

On this page