Skip to main content

Module chevron

Module chevron 

Source
Expand description

The Studio’s one drawn chevron: the file tree’s folders and the collapsible blocks turn it to say whether they are open.

Re-exports§

pub use Chevron_completions::Component::Chevron;

Structs§

ChevronProps
Properties for the Chevron component.

Constants§

CHEVRON_STYLE
The chevron’s look wherever it is drawn: muted, filling its box, and a quarter turn to point down while what it marks is open. A component that draws chevrons carries this once.
CHEVRON_SVG
VS Code’s chevron shape, 12px along its long side on a 2px stroke — two thirds larger than the codicon at 10px, and a pixel heavier — in a 12px square, so it centres on its row in any font and turns about its middle to point down.

Functions§

Chevron
The drawn chevron: pointing right while open is false, down while it is true.