Message

Jeden wpis wątku: awatar, nagłówek, dymki i stopka, wyrównane do początku lub końca.

Dostępny w
  • Angular: dostępny
  • Vue: dostępny
  • React: dostępny
  • React Native: jeszcze niedostępny

Użycie

AP
Ada Park · 10:04
Can we move the beta invite to next sprint?
LR
Yes, if the invite copy lands by Friday.
Read

Import

ts
import {
  SoneMessageAvatarDirective,
  SoneMessageContentDirective,
  SoneMessageDirective,
  SoneMessageFooterDirective,
  SoneMessageGroupDirective,
  SoneMessageHeaderDirective,
} from "@surface-one/angular/message";

Dokumentacja API

SoneMessageAvatarDirectiveDyrektywa

Selektor
[soneMessageAvatar]

SoneMessageContentDirectiveDyrektywa

Selektor
[soneMessageContent]

SoneMessageDirectiveDyrektywa

Selektor
[soneMessage]
Wejścia
NazwaTyp Domyślnie
alignMessageAlign"start"

SoneMessageFooterDirectiveDyrektywa

Selektor
[soneMessageFooter]

SoneMessageGroupDirectiveDyrektywa

Selektor
[soneMessageGroup]

SoneMessageHeaderDirectiveDyrektywa

Selektor
[soneMessageHeader]