Recategorize a few items in the component preview (#35681)
Release Notes: - N/A
This commit is contained in:
@@ -131,7 +131,7 @@ impl RenderOnce for Banner {
|
||||
|
||||
impl Component for Banner {
|
||||
fn scope() -> ComponentScope {
|
||||
ComponentScope::Notification
|
||||
ComponentScope::DataDisplay
|
||||
}
|
||||
|
||||
fn preview(_window: &mut Window, _cx: &mut App) -> Option<AnyElement> {
|
||||
|
||||
@@ -158,7 +158,7 @@ impl RenderOnce for Callout {
|
||||
|
||||
impl Component for Callout {
|
||||
fn scope() -> ComponentScope {
|
||||
ComponentScope::Notification
|
||||
ComponentScope::DataDisplay
|
||||
}
|
||||
|
||||
fn description() -> Option<&'static str> {
|
||||
|
||||
@@ -179,7 +179,7 @@ impl RenderOnce for Tab {
|
||||
|
||||
impl Component for Tab {
|
||||
fn scope() -> ComponentScope {
|
||||
ComponentScope::None
|
||||
ComponentScope::Navigation
|
||||
}
|
||||
|
||||
fn description() -> Option<&'static str> {
|
||||
|
||||
@@ -99,7 +99,7 @@ struct Animation {}
|
||||
|
||||
impl Component for Animation {
|
||||
fn scope() -> ComponentScope {
|
||||
ComponentScope::None
|
||||
ComponentScope::Utilities
|
||||
}
|
||||
|
||||
fn description() -> Option<&'static str> {
|
||||
|
||||
@@ -126,7 +126,7 @@ impl From<Hsla> for Color {
|
||||
|
||||
impl Component for Color {
|
||||
fn scope() -> ComponentScope {
|
||||
ComponentScope::None
|
||||
ComponentScope::Utilities
|
||||
}
|
||||
|
||||
fn description() -> Option<&'static str> {
|
||||
|
||||
Reference in New Issue
Block a user