mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-11 06:31:38 +03:00
update docs
This commit is contained in:
parent
32de6d0a9b
commit
f5fe046310
@ -11,11 +11,9 @@ module Nri.Ui.Modal.V8 exposing
|
||||
{-| Changes from V7:
|
||||
|
||||
- More customizable attributes
|
||||
- title is, by default, visible
|
||||
- wrather than accepting any number of attribs, accepts
|
||||
- any number of optional configuration, plus one callback that returns a focusable
|
||||
- wrather than accepting any number of attribs one callback that returns a focusable
|
||||
- viewFooter has been merged into viewContent
|
||||
- viewFooter and closeButton are now callbacks that are pre-configured with settings
|
||||
- viewContent and closeButton are now callbacks that are pre-configured with settings
|
||||
(previously you passed config through)
|
||||
|
||||
```
|
||||
@ -32,8 +30,8 @@ module Nri.Ui.Modal.V8 exposing
|
||||
Modal.info
|
||||
{ title = "Modal Header"
|
||||
, wrapMsg = ModalMsg
|
||||
, visibleTitle = True
|
||||
}
|
||||
[]
|
||||
(\{viewContent, closeButton} ->
|
||||
Modal.onlyFocusableElementView
|
||||
(\{ onlyFocusableElement } ->
|
||||
@ -86,12 +84,6 @@ module Nri.Ui.Modal.V8 exposing
|
||||
@docs Focusable
|
||||
@docs multipleFocusableElementView, onlyFocusableElementView
|
||||
|
||||
|
||||
### Optional Config
|
||||
|
||||
@docs OptionalConfig
|
||||
@docs invisibleTitle
|
||||
|
||||
-}
|
||||
|
||||
import Accessibility.Modal.Copy as Modal
|
||||
|
Loading…
Reference in New Issue
Block a user