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

https://github.com/just-sultanov/ant-design

A ClojureScript library for Ant Design
https://github.com/just-sultanov/ant-design

ant-design antd clojurescript reagent

Last synced: about 1 month ago
JSON representation

A ClojureScript library for Ant Design

Awesome Lists containing this project

README

        

image:https://img.shields.io/github/license/just-sultanov/ant-design[License,link=LICENSE]
image:https://github.com/just-sultanov/ant-design/workflows/deploy/badge.svg[Deploy]
image:https://img.shields.io/clojars/v/ant.design.svg[Clojars, link=https://clojars.org/ant.design]

*Important*:
This library only supports antd v3. Use `shadow-cljs` or another library since antd v4.

== ant.design

A ClojureScript library for https://ant.design[Ant Design].

=== Quick Start Guide

Add the following dependency in your project:

[source,clojure]
----
;; project.clj or build.boot
[ant.design "6.3.0"]

;; deps.edn
{:deps {ant.design {:mvn/version "6.3.0"}}}

----

=== Usage

[source,clojure]
----
(ns example.app
(:require [ant.design :as ant]))

(defn my-button []
[ant/button {:onClick #(js/console.log "Amazing...")}
"Click me"])

----

=== Deploy

[source,bash]
----
# create a new git tag (available types `minor`, `major`)
$ make patch

# push a new git tag
$ make release
----

=== Available commands

[source,bash]
----
$ make help
help Show help
repl Run nREPL
clean Clean
lint Run linter
build Build jar
install Install locally
init Init first version
patch Increment patch version
minor Increment minor version
major Increment major version
release Release a new version
deploy Deploy to clojars
----

=== License

link:LICENSE[Copyright © 2019-2020 Ilshat Sultanov]