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
- Host: GitHub
- URL: https://github.com/just-sultanov/ant-design
- Owner: just-sultanov
- License: mit
- Created: 2018-10-19T18:02:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T08:53:59.000Z (about 5 years ago)
- Last Synced: 2024-08-15T17:57:39.888Z (10 months ago)
- Topics: ant-design, antd, clojurescript, reagent
- Language: Clojure
- Homepage: https://ant.design
- Size: 256 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- Changelog: CHANGELOG.adoc
- License: LICENSE
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]