import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
import React from 'react';
import { List } from '@chakra-ui/react';

var OrderedList = function (_a) {
    var children = _a.children, _b = _a.styleType, styleType = _b === void 0 ? 'decimal' : _b, props = __rest(_a, ["children", "styleType"]);
    return (
    // default implementation in chakra forces 1em margin-start
    // https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/layout/src/list.tsx#L95
    React.createElement(List, __assign({ as: "ol", styleType: styleType }, props), children));
};

export { OrderedList as default };
//# sourceMappingURL=OrderedList.js.map
