mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 09:06:01 +00:00
add: agnostic web compliant adapter
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { component$ } from "@builder.io/qwik";
|
||||
|
||||
interface Props {
|
||||
items: string[];
|
||||
}
|
||||
|
||||
export default component$<Props>(({ items }) => {
|
||||
return (
|
||||
<ol class="list-inside list-decimal text-sm text-center sm:text-left w-full text-center">
|
||||
{items.map((item, i) => (
|
||||
<li key={i} class={`${i < items.length - 1 ? "mb-2" : ""}`}>
|
||||
<span>{item}</span>
|
||||
</li>
|
||||
))}
|
||||
</ol>
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user