import {Disclosure, DisclosurePanel, DisclosureTitle, Link} from '@react-spectrum/s2'; import React from 'react'; import {style} from '@react-spectrum/s2/style' with {type: 'macro'}; export function S2FAQ() { return (
style macro has a condition that isn't evaluable at
build time. This can happen for a variety of reasons such as if you've referenced
non-constant variables within your style macro or if you've called non-macro
functions within your style macro. If you are using Typescript, it can be as
simple as forgetting to add as const to your own defined reusable macro.
style macro is not meant to be used with UNSAFE_className.
Overrides to the Spectrum styles is highly discouraged, consider styling an equivalent
React Aria Component instead.
<div>, <span>,
and other standard HTML elements with the style macro instead.
style macro.