Components SDK
When creating and developing your apps using Antispace CLI, the project will include the Antispace Components SDK.
Usage
There are two parts to the SDK - the UI library and the renderer. The renderer is not important when developing using the Antispace CLI and will be covered in the manual development section.
UI Library
The UI library is a set of components that you can use to render the UI.
Usage of the UI Library
import { components as Anti } from '@antispace/sdk'
export default function Widget() {
return (
<Anti.Column align="center" justify="center">
<Anti.Text align="center">
▼ Antispace
</Anti.Text>
<Anti.Row justify="space-between">
<Anti.Input name="textToEcho" placeholder="Type something..." />
<Anti.Button action="run_echo" text="Echo" />
</Anti.Row>
</Anti.Column>
)
}