UNPKG

912 BTypeScriptView Raw
1/**
2 * {
3 * '0%': '#afc163',
4 * '75%': '#009900',
5 * '50%': 'green', ====> '#afc163 0%, #66FF00 25%, #00CC00 50%, #009900 75%, #ffffff 100%'
6 * '25%': '#66FF00',
7 * '100%': '#ffffff'
8 * }
9 */
10export declare const sortGradient: (gradients: any) => {};
11/**
12 * {
13 * '0%': '#afc163',
14 * '25%': '#66FF00',
15 * '50%': '#00CC00', ====> linear-gradient(to right, #afc163 0%, #66FF00 25%,
16 * '75%': '#009900', #00CC00 50%, #009900 75%, #ffffff 100%)
17 * '100%': '#ffffff'
18 * }
19 *
20 * Then this man came to realize the truth:
21 * Besides six pence, there is the moon.
22 * Besides bread and butter, there is the bug.
23 * And...
24 * Besides women, there is the code.
25 */
26export declare const handleGradient: (strokeColor: any) => {
27 backgroundImage: string;
28};
29declare const Line: (_: any, { attrs, slots }: {
30 attrs: any;
31 slots: any;
32}) => JSX.Element;
33export default Line;