Category : antd

Another probably simple problem I’m overlooking. Within my columns: { title: ‘Min. Value’, dataIndex: ‘min_value’, render: min_value => `${min_value}`, width: ’10’, }, { title: ‘Max Value’, dataIndex: ‘max_value’, render: max_value => `${max_value}`, width: ’15’, }, { title: ‘Min. Commission’, dataIndex: ‘min_commission’, render: row => {row.min_value}, width: ’15’, }, { title: ‘Max Commission’, dataIndex: ‘max_commission’, render: ..

Read more

import React from ‘react’; import styled from "styled-components"; import {Col, Row} from "antd"; const TitleBig = styled.div` font-family: "Bebas Neue Pro"; font-size: 20px; `; const TitleSmall = styled.div` font-family: "Bebas Neue Pro"; font-size: 15px; `; const BigContents = styled.div` font-family: "Bebas Neue Pro"; font-size: 17px; `; const SmallContents = styled.div` font-family: "Bebas Neue Pro"; font-size: ..

Read more

I read all the docs and apis about ant design’s pagination component and couldn’t found any documentation on how to change it’s colors from blue . I use the component like this : <div className="d-flex justify-content-center"> <Pagination onChange={(num) => { console.log(num); }} current={3} pageSize={10} total={63000} itemRender={render} size="default" showSizeChanger={false} /> </div> How can I change the ..

Read more

I am new react developer, here i have antd table with search functionality, is there an easy way to make this work without clicking ‘enter’ button from keyboard when searching ? for example when user starts writing ‘d..’ it should search it without needing to click ‘enter’ button, here is the code : https://codesandbox.io/s/z3ln7y0p04?file=/src/StatusFilter.js Source: ..

Read more