The SmallWaitCursor-Component is part of the chayns-components-Package. You can install it with the following command:
npm install -S chayns-components@latest
You have to import the components and styles first:
import { SmallWaitCursor } from 'chayns-components';
You can now use the components as followed:
<SmallWaitCursor
show
/>
You can set the following props on a AmountControl element:
Property | Description | Type | Default |
---|---|---|---|
show | Renders the WaitCursor | bool | false |
style | style-object of the wrapper | object | |
showBackground | style-object of the wrapper | bool | true |