Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions docs/api/public-api/@devvit/namespaces/Devvit/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../README.md)

---
***

# Devvit

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../README.md)

---
***

# Function: createElement()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../README.md)

---
***

# Blocks

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Interface: IntrinsicElements

Expand All @@ -12,79 +12,79 @@

> **avatar**: [`AvatarProps`](../type-aliases/AvatarProps.md)

---
***

<a id="blocks"></a>

### blocks

> **blocks**: [`RootProps`](../type-aliases/RootProps.md)

---
***

<a id="button"></a>

### button

> **button**: [`ButtonProps`](../type-aliases/ButtonProps.md)

---
***

<a id="hstack"></a>

### hstack

> **hstack**: [`StackProps`](../type-aliases/StackProps.md)

---
***

<a id="icon"></a>

### icon

> **icon**: [`IconProps`](../type-aliases/IconProps.md)

---
***

<a id="image"></a>

### image

> **image**: [`ImageProps`](../type-aliases/ImageProps.md)

---
***

<a id="spacer"></a>

### spacer

> **spacer**: [`SpacerProps`](../type-aliases/SpacerProps.md)

---
***

<a id="text"></a>

### text

> **text**: [`TextProps`](../type-aliases/TextProps.md)

---
***

<a id="vstack"></a>

### vstack

> **vstack**: [`StackProps`](../type-aliases/StackProps.md)

---
***

<a id="webview"></a>

### webview

> **webview**: [`WebViewProps`](../type-aliases/WebViewProps.md)

---
***

<a id="zstack"></a>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ActionHandlers

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: Actionable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: Alignment

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: AvatarBackground

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: AvatarFacing

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: AvatarProps

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: AvatarSize

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: BaseProps

Expand All @@ -14,80 +14,80 @@

> `optional` **grow**: `boolean`

---
***

<a id="height"></a>

### height?

> `optional` **height**: [`SizeString`](SizeString.md)

---
***

<a id="id"></a>

### id?

> `optional` **id**: `string`

This optional field provides a unique identifier for the element. This is useful for ensuring
re-use of elements across renders. See the `key` field for more information. Unlike key, id
is global. You cannot have two elements with the same id in the same tree.
This optional field provides a unique identifier for the element. This is useful for ensuring
re-use of elements across renders. See the `key` field for more information. Unlike key, id
is global. You cannot have two elements with the same id in the same tree.

---
***

<a id="key"></a>

### key?

> `optional` **key**: `string`

This optional field provides some efficiencies around re-ordering elements in a list. Rather
This optional field provides some efficiencies around re-ordering elements in a list. Rather
Than re-rendering the entire list, the client can use the key to determine if the element has
changed. In the example below, if a and b were swapped, the client would know to reuse the
changed. In the example below, if a and b were swapped, the client would know to reuse the
existing elements from b, rather than re-creating an expensive tree of elements.

Unlike id, key is local to the parent element. This means that the same key can be used in different
Unlike id, key is local to the parent element. This means that the same key can be used in different
parts of the tree without conflict.

<hstack>
<text key="a">hi world</text>
<hstack key="b">...deeply nested content...</hstack>
</hstack>

---
***

<a id="maxheight"></a>

### maxHeight?

> `optional` **maxHeight**: [`SizeString`](SizeString.md)

---
***

<a id="maxwidth"></a>

### maxWidth?

> `optional` **maxWidth**: [`SizeString`](SizeString.md)

---
***

<a id="minheight"></a>

### minHeight?

> `optional` **minHeight**: [`SizeString`](SizeString.md)

---
***

<a id="minwidth"></a>

### minWidth?

> `optional` **minWidth**: [`SizeString`](SizeString.md)

---
***

<a id="width"></a>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ButtonAppearance

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ButtonProps

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ButtonSize

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ColorString

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ContainerBorderWidth

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ContainerCornerRadius

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ContainerGap

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: ContainerPadding

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: HasElementChildren

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: HasStringChildren

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[**@devvit/public-api v0.12.7-dev**](../../../../../../README.md)
[**@devvit/public-api v0.12.8-dev**](../../../../../../README.md)

---
***

# Type Alias: HorizontalAlignment

Expand Down
Loading
Loading