Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 637 Bytes

File metadata and controls

34 lines (29 loc) · 637 Bytes
fieldsToInclude


The fieldsToInclude prop should be an array of strings or regular expressions to whitelist fields.

<Table
  rows={[
    {
      id: 1,
      full_name: 'Leanne Graham',
      email: 'leanne@example.com',
      phone: '012345678910'
    },
    {
      id: 2,
      full_name: 'Ervin Howell',
      email: 'ervin@example.com',
      phone: '019876543210'
    }
  ]}
  fieldsToInclude={[
    /_?name$/, 'email'
  ]}
/>

// --> Full Name, Email