This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb https://mirror.its.sfu.ca/mirror/ubuntu/ bionic main restricted | |
# deb-src https://mirror.its.sfu.ca/mirror/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb https://mirror.its.sfu.ca/mirror/ubuntu/ bionic-updates main restricted | |
# deb-src http://es.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb https://ubuntu.mirror.digitalpacific.com.au/archive/ubuntu/ focal main restricted | |
# deb-src https://mirror.its.sfu.ca/mirror/ubuntu/ focal main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb https://ubuntu.mirror.digitalpacific.com.au/archive/ubuntu/ focal-updates main restricted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ImageField } from "react-admin"; | |
import styled from "@emotion/styled"; | |
export default function PreviewImageField({ | |
record, | |
source, | |
width = "unherit", | |
}: any & ImageStyledProps) { | |
if (typeof record == "string") { | |
record = { |