import React from 'react'; import { TinyColor } from '@ctrl/tinycolor'; import { Button, ConfigProvider, Space } from 'antd'; const colors1 = ['#6253E1', '#04BEFE']; const colors2 = ['#fc6076', '#ff9a44', '#ef9d43', '#e75516']; const colors3 = ['#40e495', '#30dd8a', '#2bb673']; const getHoverColors = (colors: string[]) => colors.map((color) => new TinyColor(color).lighten(5).toString()); const getActiveColors = (colors: string[]) => colors.map((color) => new TinyColor(color).darken(5).toString()); const App: React.FC = () => ( ); export default App;