Skip to main content

note_row

Function note_row 

Source
pub fn note_row<'a>(
    note: &'a Note,
    context: &RowContext<'a>,
) -> Element<'a, Message>
Expand description

One row: the author’s picture, and beside it who they are and how long ago they wrote; under those, as wide as the row, what the note says and the line of actions; and under it all a line that sets the row apart from the next. The picture and the name lead to the author’s profile.

The row of a long note that shows in full keeps how far its top is above what is in view, for showing less of it to scroll back by (see Expanded).