Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
1234567891011121314151617181920212223import {atoms as a} from '#/alf'
const COMPACT_BUTTON_SIZE = 48
export function getComposeButtonLayout({ minimal, isNative,}: { minimal: boolean isNative: boolean}) { return { container: minimal ? [!isNative && a.px_sm, a.pt_lg] : [a.flex_row, a.pl_md, a.pt_lg], button: [ a.rounded_full, minimal && {width: COMPACT_BUTTON_SIZE, height: COMPACT_BUTTON_SIZE}, minimal && isNative && {paddingHorizontal: 0, paddingVertical: 0}, ], }}