Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
016962e9
Commit
016962e9
authored
3 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[dome] unsupported 'active' button kind
parent
e8421bf4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ivette/src/dome/renderer/controls/buttons.tsx
+1
-8
1 addition, 8 deletions
ivette/src/dome/renderer/controls/buttons.tsx
with
1 addition
and
8 deletions
ivette/src/dome/renderer/controls/buttons.tsx
+
1
−
8
View file @
016962e9
...
@@ -75,7 +75,7 @@ const LABEL = ({ disabled, label }: LABELprops) => (
...
@@ -75,7 +75,7 @@ const LABEL = ({ disabled, label }: LABELprops) => (
);
);
export
type
ButtonKind
=
export
type
ButtonKind
=
'
default
'
|
'
active
'
|
'
primary
'
|
'
warning
'
|
'
positive
'
|
'
negative
'
;
'
default
'
|
'
primary
'
|
'
warning
'
|
'
positive
'
|
'
negative
'
;
export
interface
ButtonProps
{
export
interface
ButtonProps
{
/** Text of the label. Prepend to other children elements. */
/** Text of the label. Prepend to other children elements. */
...
@@ -106,7 +106,6 @@ export interface ButtonProps {
...
@@ -106,7 +106,6 @@ export interface ButtonProps {
focusable
?:
boolean
;
focusable
?:
boolean
;
/** Styled bytton:
/** Styled bytton:
- `'default'`: normal button;
- `'default'`: normal button;
- `'active'`: active normal button;
- `'primary'`: primary button, in blue;
- `'primary'`: primary button, in blue;
- `'warning'`: warning button, in orange;
- `'warning'`: warning button, in orange;
- `'positive'`: positive button, in green;
- `'positive'`: positive button, in green;
...
@@ -495,12 +494,6 @@ export interface SelectProps {
...
@@ -495,12 +494,6 @@ export interface SelectProps {
* <optgroup label='…'>…</optgroup>
* <optgroup label='…'>…</optgroup>
* <option value='…' disabled=… >…</option>
* <option value='…' disabled=… >…</option>
**Warning:** most non-positionning CSS properties might not
work on the`<select>` element due to the native rendering used
by Chrome.
You might use `-webkit-appearance: none` to cancel this behavior,
you will have to restyle the
component entirely, which is quite ugly by default.
*/
*/
export
function
Select
(
props
:
SelectProps
)
{
export
function
Select
(
props
:
SelectProps
)
{
const
{
onChange
,
placeholder
}
=
props
;
const
{
onChange
,
placeholder
}
=
props
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment