UI kit reference
components/LoadError
import { … } from 'zidane-ui'ui/src/components/LoadError.tsx
Components#
LoadErrorComponent#
Renders a failed read's line in the danger colour, children first (Couldn't scan for plugins: …).
function LoadError(props: LoadErrorProps): ElementParameters
| Name | Type | Description |
|---|---|---|
| props | LoadErrorProps | Component props. |
Returns
ElementProps
| Name | Type | Description |
|---|---|---|
| children | ReactNode | The line: what could not be read and why. |
| className? | string | Spacing from the surroundings. |
| onRetry? | () => void | Reads again; absent, no Retry. |
| style? | CSSProperties | Inline styles on the root element, merged after the component's own. |
Interfaces#
LoadErrorPropsInterface#
Props for LoadError.
interface LoadErrorPropsProperties
| Name | Type | Description |
|---|---|---|
| children | ReactNode | The line: what could not be read and why. |
| className? | string | Spacing from the surroundings. |
| onRetry? | () => void | Reads again; absent, no Retry. |
| style? | CSSProperties | Inline styles on the root element, merged after the component's own. |