Skip to content

Instantly share code, notes, and snippets.

View arimet's full-sized avatar

Anthony arimet

View GitHub Profile
@arimet
arimet / simpleRestProvider.ts
Last active April 16, 2023 18:01
ra-strapi-rest v4
import {
fetchUtils,
GET_LIST,
GET_ONE,
GET_MANY,
GET_MANY_REFERENCE,
CREATE,
UPDATE,
UPDATE_MANY,
DELETE,
@arimet
arimet / AccessibleAccordion.ts
Created March 8, 2024 15:38
Accordion created with LIT Web Component
import {LitElement, html, css} from 'lit';
import {customElement, property} from 'lit/decorators.js';
@customElement('accessible-accordion')
export class AccessibleAccordion extends LitElement {
static override styles = css`
.accordion {
border: 1px solid #ccc;
border-radius: 4px;
margin: 0 0 10px;