A very slightly tweaked cheatsheet on the Conventional Commits specification.
type | use case |
---|---|
fix |
A code change that fixes something. |
build |
Changes to the build system or external dependencies. |
feat |
A new feature. |
A very slightly tweaked cheatsheet on the Conventional Commits specification.
type | use case |
---|---|
fix |
A code change that fixes something. |
build |
Changes to the build system or external dependencies. |
feat |
A new feature. |
interface ClockProps { | |
time: Date; | |
size?: number; | |
abbr?: string; | |
} | |
export function Clock({ time, size = 14, abbr }: ClockProps): JSX.Element { | |
const hour = time.getHours() % 12; | |
const minute = time.getMinutes(); | |
const hourAngle = (hour + minute / 60) * 30; |
[ | |
{ | |
"postcode": "2850", | |
"suburb": "Aarons Pass", | |
"state": "NSW", | |
"lat": "-32.860", | |
"lon": "149.800" | |
}, | |
{ | |
"postcode": "6280", |
postcode,suburb,state,lat,lon | |
2850,Aarons Pass,NSW,-32.860,149.800 | |
6280,Abba River,WA,-33.680,115.460 | |
6280,Abbey,WA,-33.680,115.460 | |
3737,Abbeyard,VIC,-36.980,146.780 | |
4613,Abbeywood,QLD,-26.110,151.630 | |
2176,Abbotsbury,NSW,-33.880,150.870 | |
2046,Abbotsford,NSW,-33.850,151.130 | |
3067,Abbotsford,VIC,-37.800,145.000 | |
4670,Abbotsford,QLD,-24.840,152.020 |
- postcode: '2850' | |
suburb: Aarons Pass | |
state: NSW | |
lat: '-32.860' | |
lon: '149.800' | |
- postcode: '6280' | |
suburb: Abba River | |
state: WA | |
lat: '-33.680' | |
lon: '115.460' |