diff --git a/packages/rdom-components/src/index.ts b/packages/rdom-components/src/index.ts index b6098da48c..7e032723d6 100644 --- a/packages/rdom-components/src/index.ts +++ b/packages/rdom-components/src/index.ts @@ -4,4 +4,5 @@ export * from "./editor.js"; export * from "./icon-button.js"; export * from "./input.js"; export * from "./radio.js"; +export * from "./ruler.js"; export * from "./tabs.js"; diff --git a/packages/rdom-components/src/ruler.ts b/packages/rdom-components/src/ruler.ts new file mode 100644 index 0000000000..03610a439b --- /dev/null +++ b/packages/rdom-components/src/ruler.ts @@ -0,0 +1,42 @@ +import type { Attribs } from "@thi.ng/hiccup-html"; +import { anchor } from "@thi.ng/hiccup-html/inline"; +import { table, tbody, td, tr } from "@thi.ng/hiccup-html/table"; +import { map } from "@thi.ng/transducers/map"; +import { normRange } from "@thi.ng/transducers/norm-range"; + +/** + * Returns a
0% | + *25% | + *50% | + *75% | + *