Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arksouthern/jsx

Four core JSX tools designed for Solid JS.
https://github.com/arksouthern/jsx

component-library jsx pattern-matching solid-js

Last synced: 16 days ago
JSON representation

Four core JSX tools designed for Solid JS.

Awesome Lists containing this project

README

        


jsx

Four core JSX tools designed for Solid JS

## HandleSet

```tsx
import HandleSet from "@arksouthern/jsx/hx";
```
```tsx


{...},
caroselBack: () => {...},
cardHovering: () => {...},
cardHoveringEnd: () => {...},
}}>
{handlers =>


Back


Next


}


```

## MatchAs

```tsx
import MatchAs from "@arksouthern/jsx/mx";
```
```tsx
type FriendStatus =
| {as: "followsYou"}
| {as: "youFollow"}
| {as: "mutual", daysMutual: number}
| {as: "none"}
```
```tsx


(
Following you
),
youFollow: () => (
You are following
),
mutual: x => (
Mutual {x.daysMutual} for days
),
none: () => <>>,
}} />

```

## A.* Div

```tsx
import A from "@arksouthern/jsx/ax";
```
### Not Using A.* Div
```tsx








Back
Next


Help







```
### A.* Div Example
```tsx







Back
Next


Help





```

## VarSet

```tsx
import VarSet from "@arksouthern/jsx/vx";
```
```tsx



{props =>


{props.recentPost.previewText}



}


```