# AUTO GENERATED FILE - DO NOT EDIT

from dash.development.base_component import Component, _explicitize_args


class AntdStatistic(Component):
    """An AntdStatistic component.


Keyword arguments:

- id (string; optional)

- className (string; optional)

- loading_state (dict; optional)

    `loading_state` is a dict with keys:

    - component_name (string; optional):
        Holds the name of the component that is loading.

    - is_loading (boolean; optional):
        Determines if the component is loading or not.

    - prop_name (string; optional):
        Holds which property is loading.

- precision (number; optional)

- prefix (dict; optional)

    `prefix` is a dict with keys:

    - content (string; optional)

    - mode (a value equal to: 'text', 'icon'; optional)

- showGroupSeparator (boolean; default True)

- style (dict; optional)

- suffix (dict; optional)

    `suffix` is a dict with keys:

    - content (string; optional)

    - mode (a value equal to: 'text', 'icon'; optional)

- title (string; optional)

- titleTooltip (string; optional)

- value (number; optional)

- valueStyle (dict; optional)"""
    @_explicitize_args
    def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, value=Component.UNDEFINED, showGroupSeparator=Component.UNDEFINED, precision=Component.UNDEFINED, prefix=Component.UNDEFINED, suffix=Component.UNDEFINED, title=Component.UNDEFINED, titleTooltip=Component.UNDEFINED, valueStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
        self._prop_names = ['id', 'className', 'loading_state', 'precision', 'prefix', 'showGroupSeparator', 'style', 'suffix', 'title', 'titleTooltip', 'value', 'valueStyle']
        self._type = 'AntdStatistic'
        self._namespace = 'feffery_antd_components'
        self._valid_wildcard_attributes =            []
        self.available_properties = ['id', 'className', 'loading_state', 'precision', 'prefix', 'showGroupSeparator', 'style', 'suffix', 'title', 'titleTooltip', 'value', 'valueStyle']
        self.available_wildcard_properties =            []
        _explicit_args = kwargs.pop('_explicit_args')
        _locals = locals()
        _locals.update(kwargs)  # For wildcard attrs
        args = {k: _locals[k] for k in _explicit_args if k != 'children'}
        for k in []:
            if k not in args:
                raise TypeError(
                    'Required argument `' + k + '` was not specified.')
        super(AntdStatistic, self).__init__(**args)
