We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figma DesignLink
Components:
<LinkModal>
<Input>
<Select>
<Button>
Link modal components:
<LinkModal isOpen={isModalOpen} title={"Add Link"} onClose={() => setIsModalOpen(false)} />
Link URL component:
<Input id="url" value={linkData.url} onChange={(e) => setLinkData({ ...linkData, url: e.target.value })} placeholder="https://www.figma.com/file/WADcmvj1hSADv2D9..." className={errors.url ? "border-red-500" : ""} />
Link Title component:
<Input id="title" value={linkData.title} onChange={(e) => setLinkData({ ...linkData, title: e.target.value })} placeholder="Activity Report Form Design v6" />
Category or File Type component:
<Select value={linkData.category} onValueChange={(value) => setLinkData({ ...linkData, category: value })}> <SelectTrigger id="category" className={errors.category ? "border-red-500" : ""}> <SelectValue placeholder="Select..." /> </SelectTrigger> <SelectContent> <SelectItem value="code">Code / Code Repository</SelectItem> <SelectItem value="communication">Communication</SelectItem> <SelectItem value="design">Design Files</SelectItem> <SelectItem value="docs">Files (docs, sheets, etc.)</SelectItem> <SelectItem value="project">Project Management</SelectItem> <SelectItem value="website">Website (live, staging, etc.)</SelectItem> <SelectItem value="other">Other</SelectItem> </SelectContent> </Select>
Buttons: <Button variant="outline" onClick={onClose}>Cancel</Button>
<Button variant="outline" onClick={onClose}>Cancel</Button>
<Button onClick={handleSave} className="bg-amber-500 hover:bg-amber-600 text-white">Save</Button>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Figma DesignLink
Components:
<LinkModal>
<Input>
<Select>
<Button>
Link modal components:
Link URL component:
Link Title component:
Category or File Type component:
Buttons:
<Button variant="outline" onClick={onClose}>Cancel</Button>
<Button onClick={handleSave} className="bg-amber-500 hover:bg-amber-600 text-white">Save</Button>
The text was updated successfully, but these errors were encountered: