mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-21 06:45:31 -06:00
More Area features (#168)
* Add scrolling area * Gradients * Fix typo and add scrolling to area docs * Implement imperative gradient api As per discussion in #130 * Fix links in area documentation * Update example for area gradients * Add docs for new gradient api * Format all docs with prettier * Really fix docs hyperlinks * Added to docs: ignore ...opacity for gradients
This commit is contained in:
parent
00d0eddba4
commit
6d2d32f6fc
49 changed files with 1492 additions and 1851 deletions
|
|
@ -11,8 +11,8 @@ class Example extends Component {
|
|||
render() {
|
||||
return (
|
||||
<App>
|
||||
<Window title="Example" size={{w: 500, h: 500}}>
|
||||
<TextInput onChange={() => Dialog('Error', {title: "Message"})}/>
|
||||
<Window title="Example" size={{ w: 500, h: 500 }}>
|
||||
<TextInput onChange={() => Dialog('Error', { title: 'Message' })} />
|
||||
</Window>
|
||||
</App>
|
||||
);
|
||||
|
|
@ -38,14 +38,14 @@ What type the dialog is. The current types are:
|
|||
- Open - open a file
|
||||
- Save - save a file
|
||||
|
||||
| **Type** | **Required** |
|
||||
| --- | --- |
|
||||
| enum('Message', 'Error', 'Open', 'Save') | Yes |
|
||||
| **Type** | **Required** |
|
||||
| ---------------------------------------- | ------------ |
|
||||
| enum('Message', 'Error', 'Open', 'Save') | Yes |
|
||||
|
||||
### options
|
||||
|
||||
Options for the title and description if it is a Message or Error.
|
||||
|
||||
| **Type** | **Required** |
|
||||
| --- | --- |
|
||||
| **Type** | **Required** |
|
||||
| ------------------------------------ | ------------------------------- |
|
||||
| {title: string, description: string} | One (if it is Message or Error) |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue