2.0.2 • Published 6 years ago

@materialr/dialog v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

MaterialR Dialog

@materialr/dialog

Build Status Coverage Status NSP Status semantic-release

Material dialog implementation for React

Installation

$ npm install --save @materialr/dialog

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Default export

import Dialog from '@materialr/dialog';

Props

PropTypeRequiredDefaultDescription
bodystringYesN/AThe text to display inside the dialog
classNamestringNoundefinedAdditional classNames to add
labelAcceptstringYesN/AThe label for the accept button
labelCancelstringYesN/AThe label for the cancel button
onAcceptfuncYesN/AThe accept button handler
onCancelfuncYesN/AThe cancel button handler
secondaryAcceptboolNofalseWhether to use the secondary style for the accept button
secondaryCancelboolNofalseWhether to use the secondary style for the cancel button
scrollableboolNofalsewhether the body of the dialog has scrollable text
titlestringYesN/AThe title of the dialog
2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago