Fix: overflow shorthand override warning

This commit is contained in:
csrapr 2021-05-07 22:30:38 +01:00 committed by Josh Harvey
parent 5fcde5ff44
commit aab46b28c8

View file

@ -182,7 +182,11 @@ const DataTable = ({
{({ height }) => (
<List
// this has to be in a style because of how the component works
style={{ overflow: 'inherit', outline: 'none' }}
style={{
overflowX: 'inherit',
overflowY: 'inherit',
outline: 'none'
}}
{...props}
height={loading ? 0 : height}
width={width}