export default {
  name: 'Label',
  props: [
    {
      name: 'viewBox',
      type: 'String | Number',
      isOptional: false,
      desc: {
        'en-US': 'The box of viewing area, which has the shape of {x: someVal, y: someVal, width: someVal, height: someVal}, usually calculated internally.',
        'zh-CN': '图表的可视区域。',
      },
    }, {
      name: 'formatter',
      type: 'Function',
      defaultVal: 'null',
      isOptional: true,
      desc: {
        'en-US': 'The formatter function of label value which has only one parameter - the value pf label.',
        'zh-CN': '标注值的格式化方法，只有一个参数：标注值',
      },
    }, {
      name: 'value',
      type: 'String | Number',
      defaultVal: 'null',
      isOptional: true,
      desc: {
        'en-US': 'The value of label, which can be specified by this props or the children of <Label />',
        'zh-CN': '标注值',
      },
      format: [
        `<Label value="any" />`,
      ],
    }, {
      name: 'position',
      type: '"top" | "left" | "right" | "bottom" | "inside" | "outside" | "insideLeft" | "insideRight" | "insideTop" | "insideBottom" | "insideTopLeft" | "insideBottomLeft" | "insideTopRight" | "insideBottomRight" | "insideStart" | "insideEnd" | "end" | "center"',
      defaultVal: 'null',
      isOptional: true,
      desc: {
        'en-US': 'The position of label relative to the view box.',
        'zh-CN': 'label相对于可视区域的位置',
      },
    }, {
      name: 'offset',
      type: 'Number',
      defaultVal: '5',
      isOptional: false,
      desc: {
        'en-US': 'The offset to the specified "position"',
        'zh-CN': '相对于"设置位置"的偏移量',
      },
    }, {
      name: 'children',
      type: 'String | Number',
      defaultVal: 'null',
      isOptional: true,
      desc: {
        'en-US': 'The value of label, which can be specified by this props or the props "value"',
        'zh-CN': '标注值',
      },
      format: [
        `<Label>
  any string or number
</Lable>
        `,
      ],
    }, {
      name: 'content',
      type: 'ReactElement | Function',
      defaultVal: 'null',
      isOptional: true,
      desc: {
        'en-US': 'If set a React element, the option is the custom react element of rendering label.  If set a function, the function will be called to render label content.',
        'zh-CN': '定制 Label 展示的内容。如果值为 React element，会克隆这个元素来渲染 Label 的内容。如果值为函数，会调用这个函数来生成 Label 的内容。',
      },
      format: [
        `<Label content={<CustomizedTooltip external={external} />} />`,
        `<Label content={renderTooltip} />`,
      ],
      // examples: [
      //   {
      //     name: 'Customize label content',
      //     url: '/examples/CustomContentOfLabel',
      //   }
      // ],
    },
  ],
};

@@ -552,17 +552,17 @@
 e value 
-p
+o
 f label.

Fix typo in Label.js