Ingeboude style in NextJS

In NextJS is stylering beskikbaar deur die kenmerk style. Sulke style word ingeboude style genoem. Die werk daarmee word op dieselfde manier gedoen as die werk met ingeboude style in React.

Byvoorbeeld, laat ons 'n paragraaf in rooi kleur:

app/test/page.jsxexport default function Test() {
  return <p style=>
    teks teks teks
  </p>;
}
Задание 1

Pas 'n ingeboude styl op 'n etiket toe.