Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Is there any way to configure TablePagination shows all rows on a single page?

I mean something like this:

<TablePagination
rowsPerPageOptions: [5, 10, 15, 'All'] // or [5, 10, 15, 0]
/>

I've already tried to use '0' as a page size, but the 'next' and 'prev' buttons work incorrectly in this case.

Issue 2:
When testing a component that includes a , I can successfully simulate a click and verify that the component's state is set to open. However, when I then try to find the defined action buttons, I am unable to do so.

// Code

class CustomDialog extends Component {
....
this.state = {
open: false,
};

handleOpen = () => {
this.setState({ open: true });
};

handleDelete =() => {
....
};

handleClose = () => {
....
};

render() {
const actions = [
<FlatButton label="Cancel" onClick={this.handleClose} />,
<FlatButton label="Delete" onClick={this.handleDelete} />,
];

return (
<span>
<FlatButton label="Delete" onClick={this.handleOpen} />
<Dialog
actions={actions}
open={this.state.open}
onRequestClose={this.handleClose}
>
Delete? This operation cannot be reversed.
</Dialog>
</span>
);
}
}

// Tests

expect(mountedComponent).toHaveState('open', false); <--PASS

mountedComponent
.find('FlatButton')
.simulate('click');

expect(mountedComponent).toHaveState('open', true); <--PASS

expect(mountedComponent
.find('FlatButton')
.find('[label="Cancel"]')).toBePresent(); <<< FAIL

I haven't done a sandbox because Dialog works fine for me in the browser, it's only when testing that the issues arise.

I have searched the issues of this repository and believe that this is not a duplicate.

Tech
Version

Material-UI
0.19.4

React
16.0.0

enzyme
3.1.0

And finally, here is my mountedComponent.debug() output:

<AreaDeleteDialog className="delete" id="Hollywood" handleAreaDelete={[Function]}>
<span>
<FlatButton label="Delete" onClick={[Function]} disabled={false} fullWidth={false} labelStyle={{...}} labelPosition="after" onKeyboardFocus={[Function]} onMouseEnter={[Function]} onMouseLeave={[Function]} onTouchStart={[Function]} primary={false} secondary={false}>
<EnhancedButton onClick={[Function]} onKeyboardFocus={[Function]} onMouseEnter={[Function]} onMouseLeave={[Function]} onTouchStart={[Function]} disabled={false} focusRippleColor="#999999" focusRippleOpacity={0.3} style={{...}} touchRippleColor="#999999" touchRippleOpacity={0.3} containerElement="button" onBlur={[Function]} onFocus={[Function]} onKeyDown={[Function]} onKeyUp={[Function]} tabIndex={0} type="button">
<button onMouseEnter={[Function]} onMouseLeave={[Function]} onTouchStart={[Function]} style={{...}} disabled={false} onBlur={[Function]} onFocus={[Function]} onKeyUp={[Function]} onKeyDown={[Function]} onClick={[Function]} tabIndex={0} type="button">
<TouchRipple centerRipple={[undefined]} color="#999999" opacity={0.3} abortOnScroll={true}>
<div onMouseUp={[Function]} onMouseDown={[Function]} onMouseLeave={[Function]} onTouchStart={[Function]} onTouchEnd={[Function]}>
<FlatButtonLabel label="Delete" style={{...}}>
<span style={{...}}>
Delete
</span>
</FlatButtonLabel>
</div>
</TouchRipple>
</button>
</EnhancedButton>
</FlatButton>
<Dialog actions={{...}} open={true} onRequestClose={[Function]} autoDetectWindowHeight={true} autoScrollBodyContent={false} modal={false} repositionOnUpdate={true}>
<RenderToLayer render={[Function]} open={true} useLayerForClickAway={false} />
</Dialog>
</span>
</AreaDeleteDialog>'