Private file
"private"Private file.
Files and folders
FileAccessStateIconRepresents file access across private, shared, read only states.
Private file.
"private"Private file.
"shared"Shared file.
"read-only"Read-only file.
Implementation
The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.
import { FileAccessStateIcon } from "@stateglyph/react";
<FileAccessStateIcon state="private" decorative />