OptionalclassOptional CSS class name for custom styling
Allows consumers to apply custom styles via CSS classes. Use Tailwind CSS classes or custom CSS classes.
OptionaltestOptional test ID for automated testing
Used by testing frameworks (Cypress, Vitest) to locate and interact with the component. Should follow the pattern defined in testIds constants.
OptionalchildrenOptional children elements
OptionalonOptional callback when widget encounters an error
Error that occurred
Security level for availability component
Security level for integrity component
Security level for confidentiality component
OptionalonCallback fired when availability level changes
New availability security level
OptionalonCallback fired when integrity level changes
New integrity security level
OptionalonCallback fired when confidentiality level changes
New confidentiality security level
Props for SecurityLevelWidget component
Allows users to select and view security level for CIA components.
Example