Link a statement to its source.
import { InlineCitation } from '@vrum/ui';
<InlineCitation
number={1}
href={"https://d3js.org/"}
sourceLabel={"D3 documentation"}
external={true}
size={"sm"}
/>Copy code| Prop | Type | Default | Description |
|---|---|---|---|
number* | number | none | number configuration. |
href* | string | none | href configuration. |
sourceLabel | string | none | source label configuration. |
favicon | React.ReactNode | none | favicon configuration. |
external | boolean | true | external configuration. |
size | "xs" | "sm" | "md" | "sm" | Size of the component. |
type | string | none | type configuration. |
defaultChecked | boolean | none | default checked configuration. |
defaultValue | string | number | readonly string[] | none | Initial value for an uncontrolled component. |
autoFocus | boolean | none | auto focus configuration. |
className | string | none | Additional CSS classes. |
id | string | none | id configuration. |
style | CSSProperties | none | Inline style overrides. |
aria-invalid | boolean | "false" | "true" | "grammar" | "spelling" | none | Indicates the entered value does not conform to the format expected by the application. |
aria-label | string | none | Defines a string value that labels the current element. |
children | ReactNode | none | Content rendered inside the component. |
onFocus | FocusEventHandler<HTMLAnchorElement> | none | on focus configuration. |
onBlur | FocusEventHandler<HTMLAnchorElement> | none | on blur configuration. |
onChange | ChangeEventHandler<HTMLAnchorElement, Element> | none | Called when the input value changes. |
onSubmit | SubmitEventHandler<HTMLAnchorElement> | none | Called when the form is submitted. |
onKeyDown | KeyboardEventHandler<HTMLAnchorElement> | none | on key down configuration. |
onClick | MouseEventHandler<HTMLAnchorElement> | none | Called when the control is activated. |
onSelect | ReactEventHandler<HTMLAnchorElement> | none | on select configuration. |