|
1 | 1 | --- |
2 | 2 | --- |
3 | 3 |
|
4 | | -import PropsTable from '../../src/components/props-table' |
5 | 4 | import { LiveProvider, LiveEditor, LiveError, LivePreview } from 'react-live' |
6 | 5 | import { CirclesWithBar } from 'react-loader-spinner' |
7 | 6 |
|
@@ -35,72 +34,4 @@ import { CirclesWithBar } from 'react-loader-spinner' |
35 | 34 |
|
36 | 35 | ## Props |
37 | 36 |
|
38 | | -<PropsTable |
39 | | - properties={[ |
40 | | - { |
41 | | - name: 'wrapperStyle', |
42 | | - type: 'object', |
43 | | - default: 'undefined', |
44 | | - description: |
45 | | - 'Styles to be applied to the wrapper. It should be a valid CSS object. It can be used for custom styling. It will override the default style.', |
46 | | - }, |
47 | | - { |
48 | | - name: 'visible', |
49 | | - type: 'boolean', |
50 | | - default: 'true', |
51 | | - description: 'Whether the circles are visible', |
52 | | - }, |
53 | | - { |
54 | | - name: 'wrapperClass', |
55 | | - type: 'string', |
56 | | - default: '', |
57 | | - description: 'CSS class name for the wrapper element', |
58 | | - }, |
59 | | - { |
60 | | - name: 'height', |
61 | | - type: 'string | number', |
62 | | - default: '100', |
63 | | - description: 'Height of the wrapper element', |
64 | | - }, |
65 | | - { |
66 | | - name: 'width', |
67 | | - type: 'string | number', |
68 | | - default: '100', |
69 | | - description: 'Width of the wrapper element', |
70 | | - }, |
71 | | - { |
72 | | - name: 'color', |
73 | | - type: 'string', |
74 | | - default: '#4fa94d', |
75 | | - description: |
76 | | - 'Color of the outer circle. It will also be used for the bar color if `barColor` is not specified.', |
77 | | - }, |
78 | | - { |
79 | | - name: 'outerCircleColor', |
80 | | - type: 'string', |
81 | | - default: 'undefined', |
82 | | - description: |
83 | | - 'Color of the outer circle. If not defined, it will be the same as color', |
84 | | - }, |
85 | | - { |
86 | | - name: 'innerCircleColor', |
87 | | - type: 'string', |
88 | | - default: 'undefined', |
89 | | - description: |
90 | | - 'Color of the inner circle. If not defined, it will be the same as color', |
91 | | - }, |
92 | | - { |
93 | | - name: 'barColor', |
94 | | - type: 'string', |
95 | | - default: 'undefined', |
96 | | - description: |
97 | | - 'Color of the bar. If not defined, it will be the same as color', |
98 | | - }, |
99 | | - { |
100 | | - name: 'ariaLabel', |
101 | | - type: 'string', |
102 | | - default: 'circles-with-bar-loading', |
103 | | - description: 'Aria label for the wrapper element', |
104 | | - }, |
105 | | - ]} |
106 | | -/> |
| 37 | +<AutoPropsTable component="CirclesWithBar" exclude={["gradientType", "gradientAngle", "colors"]} /> |
0 commit comments