GuidesComponentsjournal

PastJournalCard.Answer

The PastJournalCard.Answer component renders the answer text of a past journal entry with a subtle color.

  • Stable unknown
  • Release candidate since 1.16.1-rc.3
  • Development since 1.16.1-dev.2111+9796905

The PastJournalCard.Answer component renders the answer text of a past journal entry with a subtle color.

Basic Example

import { PastJournalCard } from "@ovok/native";
import * as React from "react";

const Example = () => {
  return (
    <PastJournalCard.Answer>
      I felt energetic and went for a walk.
    </PastJournalCard.Answer>
  );
};
export default Example;

Props

Every prop, with its type and description, is listed in the @ovok/native/journal API reference.

Styling

Theme Colors Used

  • theme.colors.onSurfaceDisabled: Text color

Default Styles

fontSize: 14;
fontWeight: "400";

Last updated on

On this page