timvir 0.2.47 → 0.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Grid } from "timvir/blocks";
|
|
2
2
|
|
|
3
3
|
# Exhibit
|
|
4
4
|
|
|
@@ -21,9 +21,11 @@ Think of the `<Exhibit>` block as a `<figure>` + `<figcaption>` for React compon
|
|
|
21
21
|
|
|
22
22
|
Import `Exhibit` from the `timvir/blocks` module, then use in a Timvir mdx page like so:
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
```jsx
|
|
25
|
+
<Exhibit caption="Here goes your caption">
|
|
26
|
+
<YourReactComponent />
|
|
27
|
+
</Exhibit>
|
|
28
|
+
```
|
|
27
29
|
|
|
28
30
|
## Bleed
|
|
29
31
|
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function Sample(): import("react/jsx-runtime").JSX.Element;
|